From 748994b4be7fc1e43daeb2d71912d796370fa12f Mon Sep 17 00:00:00 2001 From: Chris Kim Date: Mon, 30 Dec 2019 09:10:05 -0800 Subject: [PATCH] Change installation directory to directory in logs --- internal/installation/move.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/installation/move.go b/internal/installation/move.go index 93c2751c..0a21fb1c 100644 --- a/internal/installation/move.go +++ b/internal/installation/move.go @@ -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")