diff options
Diffstat (limited to 'editors/code/src/commands/runnables.ts')
-rw-r--r-- | editors/code/src/commands/runnables.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editors/code/src/commands/runnables.ts b/editors/code/src/commands/runnables.ts index 0adb85d5f..7bba6f9cb 100644 --- a/editors/code/src/commands/runnables.ts +++ b/editors/code/src/commands/runnables.ts | |||
@@ -134,8 +134,9 @@ export async function handleSingle(runnable: Runnable) { | |||
134 | * provide inline diagnostics; the user is met with a series of dialog boxes | 134 | * provide inline diagnostics; the user is met with a series of dialog boxes |
135 | * that, when accepted, allow us to `cargo install cargo-watch` and then run it. | 135 | * that, when accepted, allow us to `cargo install cargo-watch` and then run it. |
136 | */ | 136 | */ |
137 | export async function interactivelyStartCargoWatch(context: vscode.ExtensionContext) { | 137 | export async function interactivelyStartCargoWatch( |
138 | 138 | context: vscode.ExtensionContext | |
139 | ) { | ||
139 | if (Server.config.enableCargoWatchOnStartup === 'disabled') { | 140 | if (Server.config.enableCargoWatchOnStartup === 'disabled') { |
140 | return; | 141 | return; |
141 | } | 142 | } |
@@ -195,7 +196,6 @@ export async function interactivelyStartCargoWatch(context: vscode.ExtensionCont | |||
195 | } | 196 | } |
196 | } | 197 | } |
197 | 198 | ||
198 | |||
199 | const validater = new CargoWatchProvider(); | 199 | const validater = new CargoWatchProvider(); |
200 | validater.activate(context.subscriptions); | 200 | validater.activate(context.subscriptions); |
201 | } | 201 | } |