From 01a5b8356292e9c840b79ac94862a608196763b4 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 4 Jan 2021 18:39:15 +0300 Subject: Rename extension config --- editors/code/src/config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'editors/code/src') diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index fe9f3b4a8..ebe4de1ea 100644 --- a/editors/code/src/config.ts +++ b/editors/code/src/config.ts @@ -93,7 +93,9 @@ export class Config { return this.cfg.get(path)!; } - get serverPath() { return this.get("serverPath"); } + get serverPath() { + return this.get("server.path") ?? this.get("serverPath"); + } get serverExtraEnv() { return this.get("server.extraEnv") ?? {}; } get channel() { return this.get("updates.channel"); } get askBeforeDownload() { return this.get("updates.askBeforeDownload"); } -- cgit v1.2.3