Skip to content

Commit

Permalink
fix: fix a log
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Nov 2, 2024
1 parent 494bacb commit 8bd9ff7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/installpackage/link.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,7 @@ func (is *Installer) createLink(logE *logrus.Entry, linkPath, linkDest string) e
return fmt.Errorf("unexpected file mode %s: %s", linkPath, mode.String())
}
}
logE.WithFields(logrus.Fields{
"command": filepath.Base(linkPath),
}).Info("create a symbolic link")
logE.Info("create a symbolic link")
if err := is.linker.Symlink(linkDest, linkPath); err != nil {
return fmt.Errorf("create a symbolic link: %w", err)
}
Expand Down

0 comments on commit 8bd9ff7

Please sign in to comment.