Skip to content

Commit

Permalink
fix: cli import.meta.url
Browse files Browse the repository at this point in the history
  • Loading branch information
redmer committed Apr 2, 2024
1 parent 285618f commit a62261d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export async function cli() {
.choices("datatypes", ["original", "easy-sparql"])
.default("datatypes", "original")
.strictOptions()
.help()
.parse();

const OUT = argv.output
Expand All @@ -51,4 +50,4 @@ export async function cli() {
}
}

if (import.meta.url === pathToFileURL(process.argv[1]).href) void cli();
void cli();

0 comments on commit a62261d

Please sign in to comment.