Skip to content

Conversation

czechboy0
Copy link
Contributor

Motivation

When running ./scripts/soundness.sh produces swift-format warnings, we ask adopters to manually copy/paste a call to swift format to fix the warnings up. This is tedious and unnecessary.

Modifications

Add a --fix option on the soundness.sh script to actually apply the fixes as well, avoiding the need to copy/paste long commands.

Result

Easier fixing up of formatting warnings.

Test Plan

Manually tested the workflow locally.

Co-authored-by: George Barnett <gbarnett@apple.com>
@czechboy0 czechboy0 merged commit f2b6460 into apple:main Oct 25, 2023
@czechboy0 czechboy0 deleted the hd-soundness-fix branch October 25, 2023 10:56
@simonjbeaumont simonjbeaumont added the semver/none No version bump required. label Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants