Skip to content

Commit

Permalink
chore: don't append new line at the end and keep the content as it is
Browse files Browse the repository at this point in the history
Each time saving the file, the format result will always insert a new line at the end, which is annoying.
  • Loading branch information
longkai committed Sep 13, 2022
1 parent 6da562a commit 98a64ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func RunCommand(
if err != nil {
return err
}
fmt.Println(string(out))
fmt.Print(string(out))
}

return nil
Expand Down

0 comments on commit 98a64ba

Please sign in to comment.