mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 20:43:21 +00:00
Don't execute cargo watch when popup is dismissed
This commit is contained in:
parent
51323a852a
commit
1529eeb1b3
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue