We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df29d74 commit 5bfc1beCopy full SHA for 5bfc1be
src/cli/cli.ts
@@ -2,6 +2,7 @@
2
import path from "node:path";
3
import fs from "node:fs/promises";
4
import process from "node:process";
5
+import url from "node:url";
6
import fg from "fast-glob";
7
import minimist from "minimist";
8
import { formatAndPrintResults } from "../formatter.js";
@@ -110,7 +111,7 @@ async function runCli(): Promise<number> {
110
111
}
112
113
const pool = workerpool.pool(
- new URL("./worker.js", import.meta.url).pathname,
114
+ url.fileURLToPath(new URL("./worker.js", import.meta.url)),
115
);
116
117
const results: RunLinterSuccess[] = await Promise.all(
0 commit comments