Skip to content

Commit 08db198

Browse files
authored
Fixed missed __dirname reference (changesets#496)
1 parent 1ae3a21 commit 08db198

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release-pr.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import pkgJson from "../package.json" with { type: "json" };
66
const tag = `v${pkgJson.version}`;
77
const releaseLine = "pr-release";
88

9-
process.chdir(path.join(__dirname, ".."));
9+
process.chdir(path.join(import.meta.dirname, ".."));
1010

1111
await exec("git", ["checkout", "--detach"]);
1212
await exec("git", ["add", "--force", "dist"]);

0 commit comments

Comments
 (0)