diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-22 05:39:55 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-22 05:39:55 +0000 |
commit | ed823cb38d6c6852b2645f6bcd4c3b699b4b7539 (patch) | |
tree | 2e41d581f4ec2ce7fa43ef47120f0cd92ec7da5c /editors/code | |
parent | 9c6c6a7cb51b701585827c1a39d36450ddb5cd51 (diff) | |
parent | 1529eeb1b3966e480b0843109f0918ed0f050b16 (diff) |
Merge #1014
1014: Don't execute cargo watch when information message is dismissed r=matklad a=pcpthm
I think most information messages on `VSCode` have such behavior.
Co-authored-by: pcpthm <[email protected]>
Diffstat (limited to 'editors/code')
-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 | ||