flux diff artifact: Use cmd.Print() instead of fmt.Print().
Signed-off-by: Florian Forster <fforster@gitlab.com>
This commit is contained in:
@@ -120,7 +120,7 @@ func diffArtifactCmdRun(cmd *cobra.Command, args []string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if !diffArtifactArgs.brief {
|
if !diffArtifactArgs.brief {
|
||||||
fmt.Print(diff)
|
cmd.Print(diff)
|
||||||
}
|
}
|
||||||
|
|
||||||
return fmt.Errorf("%q and %q: %w", ociURL, diffArtifactArgs.path, ErrDiffArtifactChanged)
|
return fmt.Errorf("%q and %q: %w", ociURL, diffArtifactArgs.path, ErrDiffArtifactChanged)
|
||||||
|
|||||||
Reference in New Issue
Block a user