Skip to content

Commit

Permalink
force an exit error for testing purposes within the magefile
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Nov 11, 2019
1 parent 77991a1 commit a6ef404
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ func Update() error {
}

func Fields() error {
panic(errors.Errorf("force error for testing purposes"))
return mage.GenerateFieldsYAML("model")
}

Expand Down

0 comments on commit a6ef404

Please sign in to comment.