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

Fix format.sh -f printing usage #1767

Merged
merged 4 commits into from
Jan 22, 2024
Merged

Fix format.sh -f printing usage #1767

merged 4 commits into from
Jan 22, 2024

Conversation

severnt
Copy link
Contributor

@severnt severnt commented Jan 22, 2024

  • Passing -f now continues to format.

@@ -29,9 +29,13 @@ function usage() {
echo >&2 " -l Lint check without formatting the source code"
}

format=false
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we should default this to true. Many folks (myself included) are in the habit of just running ./scripts/format.sh. -f becomes a bit of a no-op (which is fine)

Copy link
Collaborator

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

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

Thank you!

@glbrntt glbrntt added the semver/none No version bump required. label Jan 22, 2024
@glbrntt glbrntt enabled auto-merge (squash) January 22, 2024 16:02
@glbrntt glbrntt merged commit 7b2c8c8 into grpc:main Jan 22, 2024
13 of 14 checks passed
glbrntt pushed a commit to glbrntt/grpc-swift that referenced this pull request Feb 5, 2024
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.

2 participants