Change log() function to use console.error instead of console.log. This ensures that when stdout is piped (e.g., to 'code -'), only the prompt file path is sent through the pipe, while progress messages remain visible on the terminal via stderr. Usage: echo 'content' | yarn --silent docs:create --products X | code - |
||
|---|---|---|
| .. | ||
| lib | ||
| schemas | ||
| templates | ||
| README-add-placeholders.md | ||
| add-placeholders.js | ||
| docs-create.js | ||
| docs-edit.js | ||