Skip to content

Commit 3326853

Browse files
authored
add -S flag to #!/usr/bin/env (#152)
* add -S flag * changeset
1 parent 0cc957c commit 3326853

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/mighty-files-attend.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@gitbook/cli': minor
3+
---
4+
5+
Update init template

packages/cli/src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env node --no-warnings
1+
#!/usr/bin/env -S node --no-warnings
22

33
import { program } from 'commander';
44
import * as path from 'path';

0 commit comments

Comments
 (0)