From a62261d69d524a297ea155f96df34a3370d9efe6 Mon Sep 17 00:00:00 2001 From: Redmer Kronemeijer <12477216+redmer@users.noreply.github.com> Date: Tue, 2 Apr 2024 14:45:27 +0200 Subject: [PATCH] fix: cli import.meta.url --- src/cli.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cli.ts b/src/cli.ts index b0ef761..a6b09fe 100755 --- a/src/cli.ts +++ b/src/cli.ts @@ -27,7 +27,6 @@ export async function cli() { .choices("datatypes", ["original", "easy-sparql"]) .default("datatypes", "original") .strictOptions() - .help() .parse(); const OUT = argv.output @@ -51,4 +50,4 @@ export async function cli() { } } -if (import.meta.url === pathToFileURL(process.argv[1]).href) void cli(); +void cli();