Skip to content

Commit

Permalink
readlink failure on non-existing folders
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Dec 2, 2014
1 parent 383ce04 commit 1d79086
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -704,10 +704,7 @@ function showVersions(forks) {
haveLinked = true;
}
}
catch(e) {
if (e.code != 'EINVAL' && e.code != 'UNKNOWN')
throw e;
}
catch(e) {}
if (vList.indexOf(version) == -1)
vList.push(version);
}
Expand Down

0 comments on commit 1d79086

Please sign in to comment.