mirror of
https://github.com/coreybutler/nvm-windows.git
synced 2026-01-14 07:03:17 +08:00
Code cleanup.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user