Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexagon committed Mar 25, 2024
1 parent 93d12d5 commit 974339c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cross/utils",
"version": "0.8.1",
"version": "0.8.2",
"exports": {
".": "./mod.ts",
"./ansi": "./utils/ansi.ts",
Expand Down
1 change: 0 additions & 1 deletion utils/args.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 974339c

Please sign in to comment.