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

[bug] Command's exit code is 0 when dead code is found #20

Open
clusterf opened this issue Aug 30, 2024 · 1 comment
Open

[bug] Command's exit code is 0 when dead code is found #20

clusterf opened this issue Aug 30, 2024 · 1 comment
Assignees

Comments

@clusterf
Copy link

Hello,

It would be nice if the exit code of the "deadcode" command would be non-zero when dead code is detected.
This way, it would be easier to integrate the command in a pipeline for example, where a job would fail if dead code is detected.

Please let me know what you think about it. If needed, I can make a contribution to the repository.

Thanks ☺️

@Freyb
Copy link

Freyb commented Nov 14, 2024

+1, right not it's cumbersome to detect if any changes were made.

@albertas albertas self-assigned this Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants