Code cleanup.

This commit is contained in:
Wojciech Sobolewski
2024-04-02 19:52:28 +02:00
parent bab56dab69
commit dc699f5960

View File

@@ -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)
}