From 50a6eb64ece25bc85c95c7223f6100bdbae6c69c Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Sun, 30 Jun 2019 21:00:01 +1000 Subject: [PATCH] actually take the debugging flag seriously --- pkg/config/app_config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/config/app_config.go b/pkg/config/app_config.go index 971ac0e7..cfaa7194 100644 --- a/pkg/config/app_config.go +++ b/pkg/config/app_config.go @@ -380,7 +380,7 @@ func NewAppConfig(name, version, commit, date string, buildSource string, debugg Version: version, Commit: commit, BuildDate: date, - Debug: true, // TODO: restore os.Getenv("DEBUG") == "TRUE" + Debug: debuggingFlag || os.Getenv("DEBUG") == "TRUE", BuildSource: buildSource, UserConfig: userConfig, ConfigDir: configDir,