We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a078cde commit b2b4585Copy full SHA for b2b4585
1 file changed
scripts/update-shebang.ts
@@ -15,7 +15,7 @@ async function updateShebang (path: string) {
15
}
16
17
async function main () {
18
- const npmResult = spawnSync("npm", ["show", ".", "bin", "--json"], {
+ const npmResult = spawnSync("npm", ["show", `file://${ROOT}`, "bin", "--json"], {
19
cwd: ROOT,
20
shell: true,
21
encoding: "utf8",
0 commit comments