From 00201c9cf9aafd1c96133aba6faee41a17b52e25 Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Mon, 21 Aug 2023 13:56:55 +0200 Subject: [PATCH] Actually exit after running a command in all cases --- silverbullet.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/silverbullet.ts b/silverbullet.ts index ad27300..2c46a6d 100755 --- a/silverbullet.ts +++ b/silverbullet.ts @@ -1,5 +1,4 @@ import.meta.main = false; -// import { Command } from "https://deno.land/x/cliffy@v1.0.0-rc.3/command/command.ts"; import { Command } from "https://deno.land/x/cliffy@v0.25.2/command/command.ts"; import { version } from "./version.ts"; @@ -123,3 +122,4 @@ await new Command() .command("version", "Get current version") .action(versionCommand) .parse(Deno.args); +Deno.exit(0);