Skip to content

Commit 86e84ca

Browse files
fix: bail if user cancels in ensureRepositoryExists
1 parent 06db74f commit 86e84ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/shared/options/ensureRepositoryExists.ts

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export async function ensureRepositoryExists(
5252
createRepository = false;
5353

5454
switch (selection) {
55+
case undefined:
5556
case "bail":
5657
return {};
5758

0 commit comments

Comments
 (0)