Skip to content

Commit eb6ade4

Browse files
fix win ?
1 parent 4ff427d commit eb6ade4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/test_utils.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ export interface DenoJson {
1010
license: string;
1111
}
1212

13-
const __dirname = path.dirname(new URL(import.meta.url).pathname);
14-
1513
/**
1614
* This sets the `packageManager` field in the `package.json` of the
1715
* specified directory to be the latest modern stable version of yarn.
@@ -26,7 +24,7 @@ export async function runJsr(
2624
env: Record<string, string> = {},
2725
captureOutput = false,
2826
) {
29-
const bin = path.resolve(__dirname, "..", "src", "bin.ts");
27+
const bin = path.resolve("src", "bin.ts");
3028

3129
return await exec(
3230
"node",

0 commit comments

Comments
 (0)