From a9a20321473feb6e458263605d09b2e27492aa0f Mon Sep 17 00:00:00 2001 From: Ben Brown Date: Fri, 5 Apr 2024 14:53:45 -0700 Subject: [PATCH] analysis: add space before printing filename Currently, the output looks like: ``` Aggregated data saved toFILENAME.txt ``` There should be a space after 'to', so that's what this PR adds. --- cli/analyze.go | 2 +- cli/cmp.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/analyze.go b/cli/analyze.go index 80bedcff..fb93d513 100644 --- a/cli/analyze.go +++ b/cli/analyze.go @@ -244,7 +244,7 @@ func printAnalysis(ctx *cli.Context, o bench.Operations) { } else { f, err := os.Create(fn) fatalIf(probe.NewError(err), "Unable to create create analysis output") - defer console.Println("Aggregated data saved to", fn) + defer console.Println("Aggregated data saved to ", fn) defer f.Close() wrSegs = f } diff --git a/cli/cmp.go b/cli/cmp.go index 29ed5ba4..41a1a3b7 100644 --- a/cli/cmp.go +++ b/cli/cmp.go @@ -84,7 +84,7 @@ func printCompare(ctx *cli.Context, before, after bench.Operations) { } else { f, err := os.Create(fn) fatalIf(probe.NewError(err), "Unable to create create analysis output") - defer console.Println("Aggregated data saved to", fn) + defer console.Println("Aggregated data saved to ", fn) defer f.Close() wrSegs = f }