Skip to content

Commit f7b5c18

Browse files
authored
No newline at end of random raw data (#19)
1 parent 5cafa48 commit f7b5c18

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: cli/random-data/main.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ OPTIONS:
4949
fmt.Fprintln(os.Stderr, "missing value for size")
5050
os.Exit(1)
5151
}
52-
fmt.Fprintln(os.Stdout)
52+
if b64 {
53+
fmt.Println()
54+
}
5355
}
5456

5557
func writeData(seed, size int64, b64 bool) error {

0 commit comments

Comments
 (0)