From 1529eeb1b3966e480b0843109f0918ed0f050b16 Mon Sep 17 00:00:00 2001 From: pcpthm Date: Fri, 22 Mar 2019 09:38:48 +0900 Subject: Don't execute cargo watch when popup is dismissed --- editors/code/src/commands/runnables.ts | 4 ++-- 1 file 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() { '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; } -- cgit v1.2.3