File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ index a6c9eb9d11..3f8995b727 100644
234
234
+ extraBuiltinExtensionPaths: string[];
235
235
}
236
236
diff --git a/src/vs/platform/environment/node/environmentService.ts b/src/vs/platform/environment/node/environmentService.ts
237
- index 9373b22383..33ebcfc081 100644
237
+ index 9373b22383..a98ff4723c 100644
238
238
--- a/src/vs/platform/environment/node/environmentService.ts
239
239
+++ b/src/vs/platform/environment/node/environmentService.ts
240
240
@@ -277,6 +277,15 @@ export class EnvironmentService implements IEnvironmentService {
@@ -248,7 +248,7 @@ index 9373b22383..33ebcfc081 100644
248
248
+ return this.arrayify(this._args['extra-builtin-extensions-dir']).map((p) => <string>parsePathArg(p, process));
249
249
+ }
250
250
+ private arrayify<T>(arg: T | T[] = []): T[] {
251
- + return (Array.isArray(arg) ? arg : [arg]);
251
+ + return (Array.isArray(arg) ? arg : [arg]).filter((p) => !!p) ;
252
252
+ }
253
253
254
254
constructor(private _args: ParsedArgs, private _execPath: string) {
You can’t perform that action at this time.
0 commit comments