File tree 1 file changed +18
-0
lines changed
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -272,3 +272,21 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
272
272
embedderIdentifier: 'server-distro',
273
273
extensionsGallery: this._webExtensionResourceUrlTemplate ? {
274
274
...this._productService.extensionsGallery,
275
+ Index: code-server/lib/vscode/src/vs/platform/environment/common/environmentService.ts
276
+ ===================================================================
277
+ --- code-server.orig/lib/vscode/src/vs/platform/environment/common/environmentService.ts
278
+ +++ code-server/lib/vscode/src/vs/platform/environment/common/environmentService.ts
279
+ @@ -223,7 +223,12 @@ export abstract class AbstractNativeEnvi
280
+ get verbose(): boolean { return !!this.args.verbose; }
281
+
282
+ @memoize
283
+ - get logLevel(): string | undefined { return this.args.log?.find(entry => !EXTENSION_IDENTIFIER_WITH_LOG_REGEX.test(entry)); }
284
+ + get logLevel(): string | undefined {
285
+ + if (typeof this.args.log === "string") {
286
+ + return this.args.log
287
+ + }
288
+ + return this.args.log?.find(entry => !EXTENSION_IDENTIFIER_WITH_LOG_REGEX.test(entry));
289
+ + }
290
+ @memoize
291
+ get extensionLogLevel(): [string, string][] | undefined {
292
+ const result: [string, string][] = [];
You can’t perform that action at this time.
0 commit comments