-
Notifications
You must be signed in to change notification settings - Fork 5
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
Enhance pr_changed_files with exit codes and string output #151
base: trunk
Are you sure you want to change the base?
Conversation
Generated by 🚫 Danger |
# $1 - Expected return code | ||
# $2 - Actual return code | ||
# $3 - Actual output | ||
# $4 - Expected output |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Order of arguments feels a bit strange, with Expected and Actual being intertwined like that.
I'd suggest [Expected return code, Actual return code, Expected output, Actual output]
instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed -- updated on feb51f0
Documentation updates Co-authored-by: Olivier Halligon <[email protected]>
Follow up to the discussion started on woocommerce/woocommerce-ios#15086 (comment).
This PR adds both exit codes (default mode) and
"true"
"false"
output (using--stdout
flag) to thepr_changed_files
command, updating documentation and tests accordingly.CHANGELOG.md
if necessary.