From 59560785a0b39cd5bb40def0070f48eb7f680371 Mon Sep 17 00:00:00 2001 From: Miguel Moll Date: Wed, 20 Jul 2016 15:13:30 -0400 Subject: [PATCH] Pad the uploading progress message to clear some text --- cmd/convox/builds.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/convox/builds.go b/cmd/convox/builds.go index 4d12417c61..3997007e07 100644 --- a/cmd/convox/builds.go +++ b/cmd/convox/builds.go @@ -523,7 +523,8 @@ func executeBuildDir(c *cli.Context, dir, app, manifest, description string) (st cache := !c.Bool("no-cache") build, err := rackClient(c).CreateBuildSourceProgress(app, tar, cache, manifest, description, func(s string) { - fmt.Printf("\rUploading... %s", strings.TrimSpace(s)) + // Pad string with spaces at the end to clear any text left over from a longer string. + fmt.Printf("\rUploading... %s ", strings.TrimSpace(s)) }) if err != nil { return "", err