aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src
diff options
context:
space:
mode:
authorvsrs <[email protected]>2020-07-02 20:08:33 +0100
committervsrs <[email protected]>2020-07-03 12:23:51 +0100
commit611fad275fb7f3c2ec018b5539444b6649285228 (patch)
tree91db561285e13bf85e070805a7c729b18992a49e /editors/code/src
parent271abb7bc43f11c9b9e9c1353b162d9d267b1d21 (diff)
code linting
Diffstat (limited to 'editors/code/src')
-rw-r--r--editors/code/src/config.ts2
-rw-r--r--editors/code/src/run.ts2
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
6export const NIGHTLY_TAG = "nightly"; 6export const NIGHTLY_TAG = "nightly";
7 7
8export type RunnableEnvCfg = undefined | Record<string, string> | { mask?: string, env: Record<string, string>; }[]; 8export type RunnableEnvCfg = undefined | Record<string, string> | { mask?: string; env: Record<string, string> }[];
9 9
10export class Config { 10export 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