diff options
author | vsrs <[email protected]> | 2020-07-02 20:08:33 +0100 |
---|---|---|
committer | vsrs <[email protected]> | 2020-07-03 12:23:51 +0100 |
commit | 611fad275fb7f3c2ec018b5539444b6649285228 (patch) | |
tree | 91db561285e13bf85e070805a7c729b18992a49e /editors/code/src | |
parent | 271abb7bc43f11c9b9e9c1353b162d9d267b1d21 (diff) |
code linting
Diffstat (limited to 'editors/code/src')
-rw-r--r-- | editors/code/src/config.ts | 2 | ||||
-rw-r--r-- | editors/code/src/run.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index 3257275c5..23975c726 100644 --- a/editors/code/src/config.ts +++ b/editors/code/src/config.ts | |||
@@ -5,7 +5,7 @@ export type UpdatesChannel = "stable" | "nightly"; | |||
5 | 5 | ||
6 | export const NIGHTLY_TAG = "nightly"; | 6 | export const NIGHTLY_TAG = "nightly"; |
7 | 7 | ||
8 | export type RunnableEnvCfg = undefined | Record<string, string> | { mask?: string, env: Record<string, string>; }[]; | 8 | export type RunnableEnvCfg = undefined | Record<string, string> | { mask?: string; env: Record<string, string> }[]; |
9 | 9 | ||
10 | export class Config { | 10 | export class Config { |
11 | readonly extensionId = "matklad.rust-analyzer"; | 11 | readonly extensionId = "matklad.rust-analyzer"; |
diff --git a/editors/code/src/run.ts b/editors/code/src/run.ts index 4a5c6ad41..c09954614 100644 --- a/editors/code/src/run.ts +++ b/editors/code/src/run.ts | |||
@@ -111,7 +111,7 @@ export function prepareEnv(runnable: ra.Runnable, runnableEnvCfg: RunnableEnvCfg | |||
111 | } | 111 | } |
112 | } | 112 | } |
113 | } else { | 113 | } else { |
114 | Object.assign(env, runnableEnvCfg as Record<string, string>); | 114 | Object.assign(env, runnableEnvCfg); |
115 | } | 115 | } |
116 | } | 116 | } |
117 | 117 | ||