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

Skip warning flag on push command #76 #81

Merged
merged 12 commits into from
Jul 3, 2024

Conversation

Mario-SO
Copy link
Contributor

@Mario-SO Mario-SO commented Jul 2, 2024

Added the flag to the command.rs file

#[arg(long, value_parser = clap::value_parser!(bool))]
pub skip_warnings: Option<bool>,

Plus the logic to skip the warning and tests. The test consists on basically the same as pushing with warning but with the -skip--warnings set to true.

@Mario-SO
Copy link
Contributor Author

Mario-SO commented Jul 2, 2024

i think I messed up when merging latest changes 😵 I think I should've rebased right?

@mario-eth
Copy link
Owner

i think I messed up when merging latest changes 😵 I think I should've rebased right?

You mean the commits?

@Mario-SO
Copy link
Contributor Author

Mario-SO commented Jul 2, 2024

Yes. Just last two commits are for this PR

@mario-eth
Copy link
Owner

Yes. Just last two commits are for this PR

No worries, i'll squash them

@mario-eth mario-eth merged commit 3f30e00 into mario-eth:main Jul 3, 2024
5 checks passed
@Mario-SO Mario-SO deleted the skip_warning_#76 branch July 3, 2024 10:51
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.

2 participants