Skip to content

Commit

Permalink
fix(cli): Appease TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
kriskowal committed Jan 24, 2024
1 parent c642187 commit 4ece3f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const run = async ({
args.unshift(filePath);
}

const importUrl = url.pathToFileURL(importPath);
const importUrl = url.pathToFileURL(importPath).href;
const namespace = await import(importUrl);
const result = await namespace.main(powersP, ...args);
if (result !== undefined) {
Expand Down

0 comments on commit 4ece3f8

Please sign in to comment.