Use a regular return instead of Deno.exit(0).
This commit is contained in:
parent
87d43c33ae
commit
d0d4a25470
|
@ -12,7 +12,7 @@ async function main(): Promise<void> {
|
|||
|
||||
if (availableRemotes.length === 0) {
|
||||
console.log("No remotes found");
|
||||
Deno.exit(0);
|
||||
return;
|
||||
}
|
||||
|
||||
const remotesToPush = ["origin", "github", "gitlab"];
|
||||
|
|
Loading…
Reference in New Issue