-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
No longer supports set -e
#1130
Comments
Looking at the release notes for
|
@alistairjcbrown can you try with v0.31.2? If there's still an issue, this should definitely be fixed. |
@ljharb It's still an issue in
|
In this case, the The |
This appears to be working for me locally - does your |
Details below with updated script. Interestingly changing from Script used:
Output:
|
I have a script with
set -e
set to allow it to bail if there's an error, but with exceptions within. In this script, the NVM sourcing is underset +e
and thenvm install
is underset -e
again (see test script below).When running
nvm install
, a cryptic error of "No such file or directory" is output. It appears thatnvm_version_path
is returning empty, which is causing the error.This was not an issue with
v0.29.0
(nor it seemsv0.30.0
,v0.30.1
orv0.31.0
), but appears to be an issue sincev0.31.1
. A small test file to recreate:With version
v0.29.0
With version
v0.31.1
The text was updated successfully, but these errors were encountered: