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
…#45)

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 9fffda5 commit d9d4189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/command.go
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 d9d4189

Please sign in to comment.