Commit daf9e3e
committed
fix(output): print notes to stderr
A note explains the situation around a command rather than being part of its
result, so piping stdout to a file or a parser should not pick it up. Every
current caller is prose for a human: `vp check`'s "Format skipped", the dlx
yarn@1 fallback, "Version will be downloaded on first use", "Restart your
terminal to apply shell changes".
This is also what `rfcs/cli-output-polish.md` specified for `note` in both
Rust and TypeScript; the implementation used `println!` instead.1 parent a24eede commit daf9e3e
1 file changed
Lines changed: 7 additions & 7 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
72 | 76 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
0 commit comments