Skip to content

Commit

Permalink
feat: mock invoke EnvKeys
Browse files Browse the repository at this point in the history
  • Loading branch information
aooohan committed May 18, 2024
1 parent c461cf7 commit dedfdc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,7 @@ func (b *Sdk) ClearCurrentEnv() error {

envManager := b.sdkManager.EnvManager
fmt.Println("Cleaning up env config...")
envKeys.Paths.Add(filepath.Join(b.InstallPath, "current"))
_ = envManager.Remove(envKeys)
_ = envManager.Flush()

Expand Down

0 comments on commit dedfdc5

Please sign in to comment.