Skip to content

Commit 9ce38fb

Browse files
committed
chore: add comments
1 parent 59b4133 commit 9ce38fb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/manager.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ func (m *Manager) SessionEnvKeys(opt SessionEnvOptions) (SdkEnvs, error) {
131131
if err != nil {
132132
return nil, err
133133
}
134+
// Here we need to add the global environment to the beginning of the slice,
135+
// so that the global environment has the lower priority than the current environment.
134136
tvs = append(toolset.MultiToolVersions{homeToolVersion}, tvs...)
135137
}
136138

0 commit comments

Comments
 (0)