Skip to content

ENT-13836: Added --check to cfengine format#56

Merged
olehermanse merged 1 commit intocfengine:mainfrom
victormlg:check
Apr 10, 2026
Merged

ENT-13836: Added --check to cfengine format#56
olehermanse merged 1 commit intocfengine:mainfrom
victormlg:check

Conversation

@victormlg
Copy link
Copy Markdown
Contributor

No description provided.

@victormlg victormlg force-pushed the check branch 2 times, most recently from e798e83 to 51248ba Compare April 10, 2026 13:22
Signed-off-by: Victor Moene <victor.moene@northern.tech>
ret |= _format_dirname(name, line_length, check)
continue
return 0
return ret
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@victormlg I think we still want to return 0 if there is no --check and we successfully reformatted the file(s).

@olehermanse olehermanse merged commit 9329cb0 into cfengine:main Apr 10, 2026
6 checks passed
@victormlg victormlg deleted the check branch April 10, 2026 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants