Skip to content

Fix CLI executable by adding the required shebang to the entry file #1101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 23, 2025

Conversation

smorimoto
Copy link
Collaborator

@smorimoto smorimoto commented Mar 23, 2025

Closes #1099

Signed-off-by: Sora Morimoto <sora@morimoto.io>
@smorimoto smorimoto added the bug Something isn't working label Mar 23, 2025
@Copilot Copilot AI review requested due to automatic review settings March 23, 2025 22:59
Copy link

changeset-bot bot commented Mar 23, 2025

🦋 Changeset detected

Latest commit: 76b84cb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
swagger-typescript-api Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes the CLI executable by adding the required shebang to the entry file.

  • Adds a changeset entry describing the fix
  • Inserts the shebang line in index.ts to ensure the CLI is executable

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.changeset/free-chairs-film.md Updates changeset with a patch message related to the shebang fix
index.ts Adds the necessary shebang to allow the file to be run as a CLI executable

@smorimoto smorimoto merged commit 568b2fa into main Mar 23, 2025
5 checks passed
@smorimoto smorimoto deleted the fix-bin branch March 23, 2025 23:00
@github-actions github-actions bot mentioned this pull request Mar 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Release v13.0.24 doesn't start the CLI
1 participant