refactor: use LogFailWithError to allow a unified exit code for golang commands when the app is missing

This commit is contained in:
Jose Diaz-Gonzalez committed 2021-02-28 15:20:46 -05:00
1 parent d09a7506df
commit d55e34a55f
28 files changed
+52 -29

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ func main() {
appName := args.Arg(0)
err := config.CommandShow(appName, *global, *merged, *shell, *export)
if err != nil {
common.LogFail(err.Error())
common.LogFailWithError(err)
}
case "config:help":
usage()