-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
rm
: reduce nesting in prompt_file
#5345
Labels
Comments
Hello, I would like to work on this issue. Unfortunately I am inexperienced so I am sorry if I create additional work. |
@terade sure, go ahead :) |
No worries, go ahead! |
terade
added a commit
to terade/coreutils
that referenced
this issue
Oct 4, 2023
Addressing issue uutils#5345.
terade
added a commit
to terade/coreutils
that referenced
this issue
Oct 5, 2023
Addressing issue uutils#5345. Introduce new helper function: prompt_file_permission_read_only
cakebaker
added a commit
that referenced
this issue
Oct 18, 2023
`rm`: refactor `prompt_file`, issue #5345
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
prompt_file
is more complicated than it needs to be and can be cleaned up with some early returns and maybe withlet-else
. The behaviour should stay the same, but it needs to be cleaned up!Note: There's more functions with a lot of nesting, I've cleaned those up already in #5344
The text was updated successfully, but these errors were encountered: