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

install: remove extra check for $implied #602

Merged
merged 1 commit into from
May 22, 2024

Conversation

mknos
Copy link
Contributor

@mknos mknos commented May 14, 2024

  • In install_dirs() the final loop calls modify_file() for each directory
  • modify_file() is skipped via "next" if $implied is true, so the call to modify_file() doesn't need its own guard
  • modify_file() will not run if $Unix is false, so the loop can be bypassed

* In install_dirs() the final loop calls modify_file() for each directory
* modify_file() is skipped via "next" if $implied is true, so the call to modify_file() doesn't need its own guard
* modify_file() will not run if $Unix is false, so the loop can be bypassed
@github-actions github-actions bot added Type: enhancement improve a feature that already exists Priority: low get to this whenever Program: install The install program labels May 14, 2024
@briandfoy briandfoy merged commit 82a537c into briandfoy:master May 22, 2024
2 checks passed
@briandfoy briandfoy self-assigned this May 22, 2024
@briandfoy briandfoy added Status: accepted The fix is accepted and removed Priority: low get to this whenever labels May 22, 2024
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Program: install The install program Status: accepted The fix is accepted Type: enhancement improve a feature that already exists
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants