Skip to content

Commit 568b2fa

Browse files
authored
Merge pull request #1101 from acacode/fix-bin
Fix CLI executable by adding the required shebang to the entry file
2 parents e523d6d + 76b84cb commit 568b2fa

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/free-chairs-film.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"swagger-typescript-api": patch
3+
---
4+
5+
Fix CLI executable by adding the required shebang to the entry file.

index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env node
2+
13
import * as path from "node:path";
24
import * as url from "node:url";
35
import { defineCommand, runMain } from "citty";

0 commit comments

Comments
 (0)