diff options
author | pcpthm <[email protected]> | 2019-03-22 00:38:48 +0000 |
---|---|---|
committer | pcpthm <[email protected]> | 2019-03-22 00:38:48 +0000 |
commit | 1529eeb1b3966e480b0843109f0918ed0f050b16 (patch) | |
tree | ac6dbbaa4b282f111ef37a79400de50ac586678d /editors/code/src | |
parent | 51323a852a8979a71c21725b3b2771224132b85f (diff) |
Don't execute cargo watch when popup is dismissed
Diffstat (limited to 'editors/code/src')
-rw-r--r-- | editors/code/src/commands/runnables.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/commands/runnables.ts b/editors/code/src/commands/runnables.ts index 420635f41..4187ef4d1 100644 --- a/editors/code/src/commands/runnables.ts +++ b/editors/code/src/commands/runnables.ts | |||
@@ -163,7 +163,7 @@ export async function interactivelyStartCargoWatch() { | |||
163 | 'yes', | 163 | 'yes', |
164 | 'no' | 164 | 'no' |
165 | ); | 165 | ); |
166 | if (watch === 'no') { | 166 | if (watch !== 'yes') { |
167 | return; | 167 | return; |
168 | } | 168 | } |
169 | } | 169 | } |
@@ -180,7 +180,7 @@ export async function interactivelyStartCargoWatch() { | |||
180 | 'yes', | 180 | 'yes', |
181 | 'no' | 181 | 'no' |
182 | ); | 182 | ); |
183 | if (install === 'no') { | 183 | if (install !== 'yes') { |
184 | return; | 184 | return; |
185 | } | 185 | } |
186 | 186 | ||