Skip to content

Commit f08e36a

Browse files
committed
chore: Update test scripts
1 parent 8e0e230 commit f08e36a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ruff_fmt/test_node/test-node.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import init, { format } from "../pkg/ruff_fmt_node.js";
99

1010
await init();
1111

12-
const test_root = fileURLToPath(new URL("../test_data", import.meta.url));
12+
const test_root = fileURLToPath(import.meta.resolve("../test_data"));
1313
chdir(test_root);
1414

1515
for await (const input_path of fs.glob("**/*.{py,pyi}")) {

0 commit comments

Comments
 (0)