Skip to content

Commit

Permalink
fix: compatible symbolic link paths for 0.5.0-0.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
aooohan committed May 18, 2024
1 parent 9c07faf commit 9693aac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,8 @@ func (b *Sdk) clearGlobalEnv(version Version) {
return
}
envManager := b.sdkManager.EnvManager
// Compatible symbolic link paths for v0.5.0-0.5.2
envKV.Paths.Add(filepath.Join(b.InstallPath, "current"))
_ = envManager.Remove(envKV)
}

Expand Down

0 comments on commit 9693aac

Please sign in to comment.