@@ -87,7 +87,7 @@ index 990755c4f3..06449bb9cb 100644
87
87
+ extraBuiltinExtensionPaths: string[];
88
88
}
89
89
diff --git a/src/vs/platform/environment/node/argv.ts b/src/vs/platform/environment/node/argv.ts
90
- index 3e48fe4ddd..e0962b8736 100644
90
+ index 3e48fe4ddd..2212ff5471 100644
91
91
--- a/src/vs/platform/environment/node/argv.ts
92
92
+++ b/src/vs/platform/environment/node/argv.ts
93
93
@@ -58,6 +58,8 @@ export const OPTIONS: OptionDescriptions<Required<ParsedArgs>> = {
@@ -99,6 +99,15 @@ index 3e48fe4ddd..e0962b8736 100644
99
99
'list-extensions': { type: 'boolean', cat: 'e', description: localize('listExtensions', "List the installed extensions.") },
100
100
'show-versions': { type: 'boolean', cat: 'e', description: localize('showVersions', "Show versions of installed extensions, when using --list-extension.") },
101
101
'category': { type: 'string', cat: 'e', description: localize('category', "Filters installed extensions by provided category, when using --list-extension.") },
102
+ @@ -185,7 +187,7 @@ export function parseArgs<T>(args: string[], options: OptionDescriptions<T>, err
103
+ delete parsedArgs[o.deprecates];
104
+ }
105
+
106
+ - if (val) {
107
+ + if (typeof val !== 'undefined') {
108
+ if (o.type === 'string[]') {
109
+ if (val && !Array.isArray(val)) {
110
+ val = [val];
102
111
diff --git a/src/vs/platform/environment/node/environmentService.ts b/src/vs/platform/environment/node/environmentService.ts
103
112
index f7d207009d..5c37b52dab 100644
104
113
--- a/src/vs/platform/environment/node/environmentService.ts
0 commit comments