From 24cb5380906e9f5a1c6f7dfa672009db3dbf2bf9 Mon Sep 17 00:00:00 2001 From: Mark Bates Date: Thu, 27 Sep 2018 13:39:07 -0400 Subject: [PATCH] this removes the misleading BUILD CANCELLED message (#1333) --- buffalo/cmd/build.go | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/buffalo/cmd/build.go b/buffalo/cmd/build.go index ff2509264..87ed8a59a 100644 --- a/buffalo/cmd/build.go +++ b/buffalo/cmd/build.go @@ -41,12 +41,9 @@ var xbuildCmd = &cobra.Command{ go func() { <-ctx.Done() - if ctx.Err() == context.Canceled { - logrus.Info("~~~ BUILD CANCELLED ~~~") - err := b.Cleanup() - if err != nil { - logrus.Fatal(err) - } + err := b.Cleanup() + if err != nil { + logrus.Fatal(err) } }()