You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change error message when launching a second admin instance (microsoft#166146)
* Change error message when launching a second admin instance
Previously it said "second instance" to refer to the already-running instance, which came _first_.
* 💄
Co-authored-by: Benjamin Pasero <[email protected]>
constmsg='Running extension tests from the command line is currently only supported if no other instance of Code is running.';
321
+
constmsg=`Running extension tests from the command line is currently only supported if no other instance of ${productService.nameShort} is running.`;
322
322
logService.error(msg);
323
323
client.dispose();
324
324
@@ -377,7 +377,7 @@ class CodeMain {
377
377
378
378
// Print --status usage info
379
379
if(environmentMainService.args.status){
380
-
logService.warn('Warning: The --status argument can only be used if Code is already running. Please run it again after Code has started.');
380
+
logService.warn(`Warning: The --status argument can only be used if ${productService.nameShort} is already running. Please run it again after {0} has started.`);
381
381
382
382
thrownewExpectedError('Terminating...');
383
383
}
@@ -468,7 +468,7 @@ class CodeMain {
468
468
// is closed and then exit the waiting process.
469
469
//
470
470
// Note: we are not doing this if the wait marker has been already
471
-
// added as argument. This can happen if Code was started from CLI.
471
+
// added as argument. This can happen if VS Code was started from CLI.
0 commit comments