We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
__dirname
1 parent 1ae3a21 commit 08db198Copy full SHA for 08db198
scripts/release-pr.ts
@@ -6,7 +6,7 @@ import pkgJson from "../package.json" with { type: "json" };
6
const tag = `v${pkgJson.version}`;
7
const releaseLine = "pr-release";
8
9
-process.chdir(path.join(__dirname, ".."));
+process.chdir(path.join(import.meta.dirname, ".."));
10
11
await exec("git", ["checkout", "--detach"]);
12
await exec("git", ["add", "--force", "dist"]);
0 commit comments