Skip to content

Commit 5257591

Browse files
committed
fix(cli): handle cancellation symbol to prevent installation errors
1 parent 8941401 commit 5257591

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/cli/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ if (ides.length > 1) {
2626
})
2727
}
2828

29+
if (typeof idesToInstall === 'symbol') {
30+
outro('Installation cancelled')
31+
process.exit(0)
32+
}
33+
2934
if (ides.length === 1) {
3035
idesToInstall = ides[0]
3136
}

0 commit comments

Comments
 (0)