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

Make xargs to ignore commands if stdin is empty #17027

Conversation

danidoni
Copy link
Contributor

@danidoni danidoni commented Oct 28, 2024

When we added a new gem, REMOVED_GEMS was empty, and the basename command crashed. Not anymore.

When there is nothing coming from ADDED_GEMS (because we remove the gem) or REMOVED_GEMS (because we add a new gem) xargs will not crash anymore.

@github-actions github-actions bot added the Test Suite / CI 💉 Things related to our tests/CI label Oct 28, 2024
When we added a new gem, REMOVED_GEMS was empty, and the `basename`
command crashed. Not anymore.

When there is nothing coming from
ADDED_GEMS (because we remove the gem) or REMOVED_GEMS (because we add a
new gem) `xargs` will not crash anymore.
@danidoni danidoni force-pushed the make-diffend-handle-new-gems-instead-of-only-changes branch from a990797 to c6f74ff Compare October 28, 2024 15:50
@danidoni danidoni marked this pull request as ready for review October 28, 2024 16:26
@danidoni danidoni merged commit b57c53c into openSUSE:master Nov 4, 2024
21 checks passed
@danidoni danidoni deleted the make-diffend-handle-new-gems-instead-of-only-changes branch November 4, 2024 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Test Suite / CI 💉 Things related to our tests/CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants