diff --git a/.changeset/free-chairs-film.md b/.changeset/free-chairs-film.md new file mode 100644 index 000000000..0f7dc7ee5 --- /dev/null +++ b/.changeset/free-chairs-film.md @@ -0,0 +1,5 @@ +--- +"swagger-typescript-api": patch +--- + +Fix CLI executable by adding the required shebang to the entry file. diff --git a/index.ts b/index.ts index fa5dc2e05..8882bcceb 100644 --- a/index.ts +++ b/index.ts @@ -1,3 +1,5 @@ +#!/usr/bin/env node + import * as path from "node:path"; import * as url from "node:url"; import { defineCommand, runMain } from "citty";