debt - push down more native only environment properties

This commit is contained in:
Benjamin Pasero
2020-03-02 12:46:04 +01:00
parent 9eedabce7b
commit e1d6bfe8b1
8 changed files with 12 additions and 27 deletions

View File

@@ -276,7 +276,7 @@ class CodeMain {
// Skip this if we are running with --wait where it is expected that we wait for a while.
// Also skip when gathering diagnostics (--status) which can take a longer time.
let startupWarningDialogHandle: NodeJS.Timeout | undefined = undefined;
if (!environmentService.wait && !environmentService.status) {
if (!environmentService.args.wait && !environmentService.args.status) {
startupWarningDialogHandle = setTimeout(() => {
this.showStartupWarningDialog(
localize('secondInstanceNoResponse', "Another instance of {0} is running but not responding", product.nameShort),