Skip to content

Commit

Permalink
fix: cleanup info command
Browse files Browse the repository at this point in the history
  • Loading branch information
ekristen committed Sep 2, 2024
1 parent 835c7eb commit ee3abc7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions pkg/commands/info/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,10 @@ func Execute(c *cli.Context) error {
log.Infof("distillery/%s", common.AppVersion.Summary)
log.Infof(" os: %s", runtime.GOOS)
log.Infof(" arch: %s", runtime.GOARCH)
log.Infof(" cache: %s", cacheDir)
log.Infof(" home: %s", homeDir)
log.Infof(" bin: %s", binDir)
log.Infof(" opt: %s", optDir)
log.Infof(" meta: %s", metadataDir)
log.Infof(" downl: %s", downloadsDir)
log.Infof(" cache: %s", filepath.Join(cacheDir, common.NAME))

log.Warnf("To cleanup all of distillery, remove the following directories:")
log.Warnf(" - %s", filepath.Join(cacheDir, common.NAME))
Expand Down
1 change: 0 additions & 1 deletion pkg/commands/install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package install

import (
"fmt"

"os"
"path/filepath"
"runtime"
Expand Down

0 comments on commit ee3abc7

Please sign in to comment.