diff options
Diffstat (limited to 'editors/code/src/config.ts')
-rw-r--r-- | editors/code/src/config.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index 46394600b..d5f3da2ed 100644 --- a/editors/code/src/config.ts +++ b/editors/code/src/config.ts | |||
@@ -97,7 +97,9 @@ export class Config { | |||
97 | 97 | ||
98 | const prebuiltBinaryName = Config.prebuiltLangServerFileName(process.platform); | 98 | const prebuiltBinaryName = Config.prebuiltLangServerFileName(process.platform); |
99 | 99 | ||
100 | return !prebuiltBinaryName ? null : { | 100 | if (!prebuiltBinaryName) return null; |
101 | |||
102 | return { | ||
101 | type: BinarySource.Type.GithubRelease, | 103 | type: BinarySource.Type.GithubRelease, |
102 | dir: ctx.globalStoragePath, | 104 | dir: ctx.globalStoragePath, |
103 | file: prebuiltBinaryName, | 105 | file: prebuiltBinaryName, |