Don't execute cargo watch when popup is dismissed

This commit is contained in:
pcpthm 2019-03-22 09:38:48 +09:00
parent 51323a852a
commit 1529eeb1b3

View file

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