From 02f4963cdfdce77579a176aa3337f43174a40e99 Mon Sep 17 00:00:00 2001 From: gammazero <11790789+gammazero@users.noreply.github.com> Date: Mon, 24 Feb 2025 06:33:33 -1000 Subject: [PATCH] No newline at end of random raw data --- cli/random-data/main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cli/random-data/main.go b/cli/random-data/main.go index 9a9809e..95d4489 100644 --- a/cli/random-data/main.go +++ b/cli/random-data/main.go @@ -49,7 +49,9 @@ OPTIONS: fmt.Fprintln(os.Stderr, "missing value for size") os.Exit(1) } - fmt.Fprintln(os.Stdout) + if b64 { + fmt.Println() + } } func writeData(seed, size int64, b64 bool) error {