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 <pcpthm@gmail.com>
This commit is contained in:
bors[bot] 2019-03-22 05:39:55 +00:00
commit ed823cb38d

View file

@ -163,7 +163,7 @@ export async function interactivelyStartCargoWatch() {
'yes',
'no'
);
if (watch === 'no') {
if (watch !== 'yes') {
return;
}
}
@ -180,7 +180,7 @@ export async function interactivelyStartCargoWatch() {
'yes',
'no'
);
if (install === 'no') {
if (install !== 'yes') {
return;
}