Skip to content

Commit

Permalink
Code cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
wsobolewski committed Apr 2, 2024
1 parent bab56da commit dc699f5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/nvm.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit dc699f5

Please # to comment.