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

[New Check]: Raise a info/warning on missing || die #680

Open
APN-Pucky opened this issue May 8, 2024 · 0 comments
Open

[New Check]: Raise a info/warning on missing || die #680

APN-Pucky opened this issue May 8, 2024 · 0 comments

Comments

@APN-Pucky
Copy link

APN-Pucky commented May 8, 2024

Some ebuilds need some manual cd, mv, cp, echo, etc. for which it is easy to miss the || die suffix.
Is it possible to catch the trivial cases of missing a die already at the pkgcheck level?

Example from ::sci:
https://github.com/gentoo/sci/pull/1270/files#r1592960217

PS: Should have been a new check not feature request...

@APN-Pucky APN-Pucky changed the title Raise a info/warning on missing || die [New Check]: Raise a info/warning on missing || die May 8, 2024
@arthurzam arthurzam added the check label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants