Skip to content
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

Unlisted binaries: set #429

Closed
AndreaPontrandolfo opened this issue Jan 4, 2024 · 3 comments
Closed

Unlisted binaries: set #429

AndreaPontrandolfo opened this issue Jan 4, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@AndreaPontrandolfo
Copy link

I have this error: "Unlisted binaries: set package.json".
Basically i have a npm script where i first set a env variable like this: set FORCE_COLOR=1 , because otherwise it wouldn't work on Windows.
But Knip interprets "set" as a binary.

@AndreaPontrandolfo AndreaPontrandolfo added the bug Something isn't working label Jan 4, 2024
@webpro
Copy link
Collaborator

webpro commented Jan 4, 2024

This goes through a bash/shell script parser, I guess we can fake/add set as a binary.

@webpro webpro closed this as completed in 1198ccc Jan 8, 2024
@webpro
Copy link
Collaborator

webpro commented Jan 8, 2024

🚀 This issue has been resolved in v3.13.0. See Release 3.13.0 for release notes.

@webpro
Copy link
Collaborator

webpro commented Jan 16, 2024

🚀 This issue has been resolved in v4.0.0. See Release 4.0.0 for release notes.

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

No branches or pull requests

2 participants