Skip to content

fix: argument order in cargo clippy command #7593

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

0xwitty
Copy link

@0xwitty 0xwitty commented Apr 6, 2025

Hey, I noticed that user-provided arguments ($@) were placed before the standard cargo clippy flags. This could cause conflicts or unexpected behavior if user args overlap with cargo's own flags.

I moved $@ to the correct spot—after cargo clippy but before --all-targets, etc.—so everything gets passed as intended.

@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link
Collaborator

@orizi orizi left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 1 files reviewed, 2 unresolved discussions


a discussion (no related file):
this is for our internal usage - so not really relevant.


a discussion (no related file):
fixing of internal scripts for ease of use is done when running into issues.

we no longer accept PRs for such improvements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants