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

engine: return nil from dry run when no changes #171

Merged
merged 2 commits into from
May 3, 2024

Conversation

braydonk
Copy link
Collaborator

@braydonk braydonk commented May 3, 2024

The command output actually relies on nil being return when there are no changes, and I forgot to add that behaviour to dry run which made there be no message printed out for confirmation.

Also decided to make a slight change to the confirmation message so that it outputs nothing when the -quiet flag is enabled.

The `command` output actually relies on `nil` being return when there
are no changes, and I forgot to add that behaviour to dry run which made
there be no message printed out for confirmation.

Also decided to make a slight change to the confirmation message so that
it outputs nothing when the `-quiet` flag is enabled.

Signed-off-by: braydonk <braydonk@google.com>
@braydonk braydonk merged commit 197c915 into google:main May 3, 2024
5 checks passed
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.

None yet

1 participant