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

Returns error code 1 when final result is False #137

Closed
wants to merge 2 commits into from

Conversation

samriddhi99
Copy link
Contributor

Fix #89

Copy link

@@ -118,6 +118,10 @@ def __init__(self, prog="PROG") -> None:
print(formatted_result)
else:
pretty_print_result_dict(result)

Copy link
Member

Choose a reason for hiding this comment

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

@refeed can you please verify how this will impact the current terraform workflow step and if we are using the exit code correctly.

Copy link
Member

Choose a reason for hiding this comment

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

@samriddhi99 here is my proposal for the exist codes: #173
Let us please implement in this PR itself.

@refeed
Copy link
Member

refeed commented Oct 15, 2024

@samriddhi99 need followup, please let me know when you are available

@refeed
Copy link
Member

refeed commented Oct 22, 2024

Closing this as @samriddhi99 is not available in the meantime. But can be reopened later

@refeed refeed closed this Oct 22, 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

Successfully merging this pull request may close these issues.

🐛 cli.py: return non zero code when final evaluation returns false
3 participants