Skip to content

Commit

Permalink
chore: add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bytemain committed Feb 22, 2025
1 parent 59b4133 commit 9ce38fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ func (m *Manager) SessionEnvKeys(opt SessionEnvOptions) (SdkEnvs, error) {
if err != nil {
return nil, err
}
// Here we need to add the global environment to the beginning of the slice,
// so that the global environment has the lower priority than the current environment.
tvs = append(toolset.MultiToolVersions{homeToolVersion}, tvs...)
}

Expand Down

0 comments on commit 9ce38fb

Please sign in to comment.