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 lib/poetry-lock/poetry-lock-all.sh failures more obvious #1107

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

MarkLindblad
Copy link
Contributor

@MarkLindblad MarkLindblad commented Jan 10, 2025

Previously, first time users who hadn't read the script could see the output abruptly stop and assume the script had completed successfully. Now, it will always either output a SUCCESS or a FAILED near the end of the output.

@@ -2,6 +2,7 @@

root="$(pwd)"
fail() {
echo FAILED
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'd do this: echo "FAILED: $@"
To make it a little harder to miss.

or if you think people will be bad at reading:

echo FAILED FAILED FAILED FAILED
echo "$@"
echo FAILED FAILED FAILED FAILED

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

Successfully merging this pull request may close these issues.

2 participants