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

Minor cleanup of cargo_build_script source code. #816

Merged
merged 3 commits into from
Jun 30, 2021

Conversation

UebelAndre
Copy link
Collaborator

@UebelAndre UebelAndre commented Jun 30, 2021

I think it's good to call out that arguments are expected to be a file, so suffixing with _file feels like the right thing to do. This also allows the code to maintain proper snake case and not conflict with other variables in the same scope.

Additionally, I updated the error formatting a bit.

@UebelAndre
Copy link
Collaborator Author

Additionally, I updated the error formatting a bit.

I can move this into a separate PR upon request but I think it's small enough not to be an issue.

@UebelAndre UebelAndre merged commit 64472b7 into bazelbuild:main Jun 30, 2021
@UebelAndre UebelAndre deleted the cargo branch July 1, 2021 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants