Skip to content

fuzzing: remove some duplicated code + clippy fixes#5337

Merged
cakebaker merged 2 commits intouutils:mainfrom
sylvestre:fuzz3
Sep 30, 2023
Merged

fuzzing: remove some duplicated code + clippy fixes#5337
cakebaker merged 2 commits intouutils:mainfrom
sylvestre:fuzz3

Conversation

@sylvestre
Copy link
Contributor

No description provided.

@sylvestre sylvestre requested a review from cakebaker September 28, 2023 20:51
@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
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