From d0d4a2547009afc00c7f8fc1b67b96bdfd2a2965 Mon Sep 17 00:00:00 2001 From: Bauke Date: Fri, 28 Jul 2023 20:17:18 +0200 Subject: [PATCH] Use a regular return instead of Deno.exit(0). --- .bauke/scripts/simple-git-push.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bauke/scripts/simple-git-push.ts b/.bauke/scripts/simple-git-push.ts index 9f40296..6c67687 100644 --- a/.bauke/scripts/simple-git-push.ts +++ b/.bauke/scripts/simple-git-push.ts @@ -12,7 +12,7 @@ async function main(): Promise { if (availableRemotes.length === 0) { console.log("No remotes found"); - Deno.exit(0); + return; } const remotesToPush = ["origin", "github", "gitlab"];