We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 127279f commit 2a801c1Copy full SHA for 2a801c1
1 file changed
pkgm.ts
@@ -212,7 +212,8 @@ async function shim(args: string[], basePath: string) {
212
for await (const entry of Deno.readDir(bin_prefix)) {
213
if (!entry.isFile && !entry.isSymlink) continue;
214
const name = entry.name;
215
- const shim = `#!/usr/bin/env -S pkgx --shebang --quiet ${name}`;
+ const shim =
216
+ `#!/usr/bin/env -S pkgx +${pkg.project}=${pkg.version} --shebang --quiet -- ${name}`;
217
218
if (existsSync(join(basePath, "bin", name))) {
219
await Deno.remove(join(basePath, "bin", name));
0 commit comments