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

[readme] Balance the if statement in bash example #2658

Merged
merged 1 commit into from
Nov 22, 2021

Commits on Nov 22, 2021

  1. [readme] Balance the if statement in bash example

    Nesting the `elif` at the same level as the `if` and `fi` makes it clear which code applies to which branch (no .nvmrc file / found .nvmrc file).
    
    I wasted a while looking at it trying to work out how it did anything if there was a .nvmrc file, because obviously the `if` didn't match and I couldn't see the `elif` branch.
    Mahoney authored and ljharb committed Nov 22, 2021
    Configuration menu
    Copy the full SHA
    30486b9 View commit details
    Browse the repository at this point in the history