Skip to content

Commit 2243b52

Browse files
committed
fix: fix current symlink creation under cygwin
1 parent bdc0192 commit 2243b52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nvm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3911,7 +3911,7 @@ nvm() {
39113911
export NVM_INC="${NVM_VERSION_DIR}/include/node"
39123912
if [ "${NVM_SYMLINK_CURRENT-}" = true ]; then
39133913
case "$(uname -s)" in
3914-
CYGWIN*|MINGW*|MINGW32*|MSYS*)
3914+
CYGWIN*|MINGW*|MSYS*)
39153915

39163916
# Windows cygwin
39173917
command rm -rf "${NVM_DIR}/current" && cmd //C mklink //J "$(cygpath -w "${NVM_DIR}/current")" "$(cygpath -w "${NVM_VERSION_DIR}")" >/dev/null

0 commit comments

Comments
 (0)