Skip to content

Commit 8e26c33

Browse files
authored
Warning message doesn't show up when code-insiders --status is run while no instances are open (microsoft#185080)
* Warning message doesn't show up when `code-insiders --status` is run while no instances are open (fix microsoft#185069) * 💄
1 parent bf5419f commit 8e26c33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/code/electron-main/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ class CodeMain {
382382

383383
// Print --status usage info
384384
if (environmentMainService.args.status) {
385-
logService.warn(localize('statusWarning', "Warning: The --status argument can only be used if {0} is already running. Please run it again after {0} has started.", productService.nameShort));
385+
console.log(localize('statusWarning', "Warning: The --status argument can only be used if {0} is already running. Please run it again after {0} has started.", productService.nameShort));
386386

387387
throw new ExpectedError('Terminating...');
388388
}

0 commit comments

Comments
 (0)