From dc699f5960af8e9e7bbb849e4eaebe899fedd37a Mon Sep 17 00:00:00 2001 From: Wojciech Sobolewski <8691776+wsobolewski@users.noreply.github.com> Date: Tue, 2 Apr 2024 19:52:28 +0200 Subject: [PATCH] Code cleanup. --- src/nvm.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/nvm.go b/src/nvm.go index ec5bac94..b3290a48 100644 --- a/src/nvm.go +++ b/src/nvm.go @@ -1481,9 +1481,6 @@ func setup() { m[res[0]] = strings.TrimSpace(strings.Join(res[1:], ":")) } - if _, ok := m["root"]; ok { - env.root = filepath.Clean(os.Getenv("NVM_HOME")) - } if val, ok := m["originalpath"]; ok { env.originalpath = filepath.Clean(val) }