Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

cli: Only echo conf file on fmt change #4111

Merged
merged 2 commits into from
Oct 26, 2022

Conversation

briancain
Copy link
Member

Prior to this commit, the waypoint fmt command would echo the formatted file name even if the file was not formatted. This commit adjusts that to align the CLI to behave like terraform fmt where it only echos the file name in the case where the file was actually formatted.

Fixes #3816

Prior to this commit, the `waypoint fmt` command would echo the
formatted file name even if the file was not formatted. This commit
adjusts that to align the CLI to behave like `terraform fmt` where it
only echos the file name in the case where the file was actually
formatted.

Fixes #3816
@briancain briancain added the pr/no-changelog No automatic changelog entry required for this pull request label Oct 26, 2022
@briancain briancain requested review from a team, demophoon and izaaklauer October 26, 2022 14:53
@github-actions github-actions bot added the core label Oct 26, 2022
@briancain briancain added backport/0.10.x and removed pr/no-changelog No automatic changelog entry required for this pull request labels Oct 26, 2022
@briancain briancain merged commit c39bb75 into main Oct 26, 2022
@briancain briancain deleted the maint/cli-fmt/only-echo-file-on-changes branch October 26, 2022 20:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

waypoint fmt returns an edited file every time
2 participants