Skip to content

Commit

Permalink
fix: Wrap error with emoji in newInstallCmd()
Browse files Browse the repository at this point in the history
Signed-off-by: Víctor Cuadrado Juan <[email protected]>
  • Loading branch information
viccuad committed Jul 9, 2021
1 parent f17f995 commit d09e1e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/hypper/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ func newInstallCmd(actionConfig *action.Configuration, logger log.Logger) *cobra
// TODO decide how to use returned rel:
_, err := runInstall(solver.InstallOne, args, client, valueOpts, logger)
if err != nil {
err = errors.New(eyecandy.ESPrintf(settings.NoEmojis, ":x: %s", err))
return err
}
logger.Info(eyecandy.ESPrint(settings.NoEmojis, ":clapping_hands:Done!"))
Expand Down

0 comments on commit d09e1e7

Please sign in to comment.