put newline at end of content saved to a file
This commit is contained in:
parent
262d024e28
commit
592b9621ca
@ -115,7 +115,7 @@ func main() {
|
||||
fmt.Print(text + "\n") //terminate with a new line
|
||||
} else {
|
||||
//save to the specified output
|
||||
gmiBytes := []byte(text)
|
||||
gmiBytes := []byte(text + "\n")
|
||||
saveFile(gmiBytes, *output)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user