We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ece0ae commit 77ac8fdCopy full SHA for 77ac8fd
lib/content/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