Skip to content

Commit 85d4bcf

Browse files
committed
fix: Correct error handling
1 parent 320b06e commit 85d4bcf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

alteriso/src/internal/cmd/profile/format.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func profileFormatCmd() *cobra.Command {
2626
return err
2727
}
2828

29-
if profile.Format(); err != nil {
29+
if err := profile.Format(); err != nil {
3030
return errors.Wrap(err)
3131
}
3232

0 commit comments

Comments
 (0)