Re added the requirement for the -a, without this the flags would not error out and cause issues

This commit is contained in:
NotZippy
2018-09-22 15:28:22 -07:00
parent 7a4e741d1c
commit 01ccd695d4
2 changed files with 7 additions and 7 deletions

View File

@@ -243,7 +243,7 @@ func Build(c *model.CommandConfig, paths *model.RevelContainer) (app *App, compi
utils.Logger.Info("Exec:", "args", getCmd.Args)
getOutput, err := getCmd.CombinedOutput()
if err != nil {
utils.Logger.Error("Build failed", "message", stOutput)
utils.Logger.Error("Build failed", "message", stOutput, "error", err)
utils.Logger.Error("Failed to fetch the output", "getOutput", string(getOutput))
return nil, newCompileError(paths, output)
}