Skip to content

Commit

Permalink
fix: cosmetic utils newlines (#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
MissingNO57 authored Oct 24, 2024
1 parent 98f4081 commit b211056
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/fetchd/cmd/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func utilJsonCommand() *cobra.Command {
}

ctx := client.GetClientContextFromCmd(cmd)
return ctx.PrintString(hashHex)
return ctx.PrintString(fmt.Sprintf("%s\n", hashHex))
},
}

Expand All @@ -133,7 +133,7 @@ func utilJsonCommand() *cobra.Command {
}

ctx := client.GetClientContextFromCmd(cmd)
return ctx.PrintString(jsonNormalised)
return ctx.PrintString(fmt.Sprintf("%s\n", jsonNormalised))
},
}

Expand Down Expand Up @@ -253,7 +253,7 @@ func utilAddressCommand() *cobra.Command {
}

ctx := client.GetClientContextFromCmd(cmd)
return ctx.PrintString(newAddress)
return ctx.PrintString(fmt.Sprintf("%s\n", newAddress))
},
}

Expand Down

0 comments on commit b211056

Please sign in to comment.