Skip to content

Commit

Permalink
make command outputs consistent
Browse files Browse the repository at this point in the history
Signed-off-by: Kushal Harish Naidu <[email protected]>
  • Loading branch information
kushnaidu committed Mar 6, 2024
1 parent 875fe6d commit d02d5e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/cli/commands/rpkg/pull/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func (r *runner) runE(cmd *cobra.Command, args []string) error {
return errors.E(op, err)
}
}
fmt.Fprintf(cmd.OutOrStdout(), "Package: %s pulled\n", packageName)
fmt.Fprintf(cmd.OutOrStdout(), "%s pulled\n", packageName)
return nil
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/commands/rpkg/push/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func (r *runner) runE(cmd *cobra.Command, args []string) error {
r.printFnResult(result, printOpt)
}
}
fmt.Fprintf(cmd.OutOrStdout(), "Package: %s pushed\n", packageName)
fmt.Fprintf(cmd.OutOrStdout(), "%s pushed\n", packageName)
return nil
}

Expand Down

0 comments on commit d02d5e6

Please sign in to comment.