Skip to content

Commit

Permalink
Protect against cat clobbering. Fixes #858.
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Oct 4, 2015
1 parent ebdcdc4 commit 06a2128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ nvm_alias() {
return 2
fi

cat "$NVM_ALIAS_PATH"
command cat "$NVM_ALIAS_PATH"
}

nvm_ls_current() {
Expand Down

0 comments on commit 06a2128

Please sign in to comment.