Skip to content

Commit 5693d7c

Browse files
author
no
committed
fix: newline
1 parent 3c7afb2 commit 5693d7c

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/wbenv/WBEnv.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class WBEnv {
1515
.join(' ');
1616
const argsForLog = args.join(' ');
1717

18-
process.stderr.write(`[wbenv] ${envsForLog} ${command} ${argsForLog}`);
18+
console.error(`[wbenv] ${envsForLog} ${command} ${argsForLog}`);
1919

2020
this.childProcessSpawn(command, args, {
2121
stdio: 'inherit',
@@ -50,12 +50,11 @@ export class WBEnv {
5050
}
5151

5252
private printUsage() {
53-
process.stderr.write(dedent`
54-
usage: wbenv [{ui|curl|pretty}] command [args...]
55-
ui - send requests to Wirebird app
56-
curl - log requests in the terminal as Curl commands
57-
pretty - log requests in the terminal
58-
`);
53+
console.error(dedent`
54+
usage: wbenv [{ui|curl|pretty}] command [args...]
55+
ui - send requests to Wirebird app
56+
curl - log requests in the terminal as Curl commands
57+
pretty - log requests in the terminal`);
5958
}
6059

6160
constructor(

0 commit comments

Comments
 (0)