Skip to content

Commit 1355d72

Browse files
authored
Move --shebang to the beginning
1 parent d95af34 commit 1355d72

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkgm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ async function shim(args: string[], basePath: string) {
213213
if (!entry.isFile && !entry.isSymlink) continue;
214214
const name = entry.name;
215215
const shim =
216-
`#!/usr/bin/env -S pkgx +${pkg.project}=${pkg.version} --shebang --quiet -- ${name}`;
216+
`#!/usr/bin/env -S pkgx --shebang --quiet +${pkg.project}=${pkg.version} -- ${name}`;
217217

218218
if (existsSync(join(basePath, "bin", name))) {
219219
await Deno.remove(join(basePath, "bin", name));

0 commit comments

Comments
 (0)