Skip to content

Commit

Permalink
Change installation directory to directory in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskim06 committed Dec 30, 2019
1 parent f3eedbc commit 748994b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/installation/move.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,9 @@ func moveAllFiles(fromDir, toDir string, fos []index.FileOperation) error {
// moveToInstallDir moves plugins from srcDir to dstDir (created in this method) with given FileOperation.
func moveToInstallDir(srcDir, installDir string, fos []index.FileOperation) error {
installationDir := filepath.Dir(installDir)
klog.V(4).Infof("Creating installation directory %q", installationDir)
klog.V(4).Infof("Creating directory %q", installationDir)
if err := os.MkdirAll(installationDir, 0755); err != nil {
return errors.Wrapf(err, "error creating installation directory at %q", installationDir)
return errors.Wrapf(err, "error creating directory at %q", installationDir)
}

tmp, err := ioutil.TempDir("", "krew-temp-move")
Expand Down

0 comments on commit 748994b

Please sign in to comment.