Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
this removes the misleading BUILD CANCELLED message (#1333)
Browse files Browse the repository at this point in the history
  • Loading branch information
markbates authored Sep 27, 2018
1 parent 939bbac commit 24cb538
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions buffalo/cmd/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}()

Expand Down

0 comments on commit 24cb538

Please sign in to comment.