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

fuzzing: remove some duplicated code + clippy fixes #5337

Merged
merged 2 commits into from
Sep 30, 2023

Conversation

sylvestre
Copy link
Contributor

No description provided.

@uutils uutils deleted a comment from github-actions bot Sep 29, 2023
pub fn run_gnu_cmd(
cmd_path: &str,
args: &[OsString],
check_gnu: bool,
Copy link
Contributor

Choose a reason for hiding this comment

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

An alternative to the check_gnu param could be to split run_gnu_cmd into two functions. This would avoid the "magic" boolean values when calling run_gnu_cmd.

@cakebaker cakebaker merged commit 7f876e4 into uutils:main Sep 30, 2023
43 of 45 checks passed
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