From 974339cfa676bccff89d5f8ceee35744ae5424c8 Mon Sep 17 00:00:00 2001 From: Hexagon Date: Mon, 25 Mar 2024 15:36:07 +0100 Subject: [PATCH] Small fix --- deno.json | 2 +- utils/args.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/deno.json b/deno.json index f55e49f..bc14fde 100644 --- a/deno.json +++ b/deno.json @@ -1,6 +1,6 @@ { "name": "@cross/utils", - "version": "0.8.1", + "version": "0.8.2", "exports": { ".": "./mod.ts", "./ansi": "./utils/ansi.ts", diff --git a/utils/args.ts b/utils/args.ts index 3167727..c4c4e4d 100644 --- a/utils/args.ts +++ b/utils/args.ts @@ -199,7 +199,6 @@ export class ArgsParser { */ get(argName: string): string | undefined { const canonicalArgName = this.aliases[argName] || argName; - console.log(canonicalArgName, this.parsedArgs); const value = this.parsedArgs[canonicalArgName]; const firstValue = Array.isArray(value) ? value[0] : value; return firstValue ? firstValue.toString() : undefined;