Explorar el Código

git: explicitly disable debug in prod mode (#5959)

After first time running the application and went through the installation, the flag was always true until restarted.
ᴜɴᴋɴᴡᴏɴ hace 5 años
padre
commit
7efa946b02
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      internal/route/install.go

+ 1 - 0
internal/route/install.go

@@ -41,6 +41,7 @@ func checkRunMode() {
 	if conf.IsProdMode() {
 		macaron.Env = macaron.PROD
 		macaron.ColorLog = false
+		git.Debug = false
 	} else {
 		git.Debug = true
 	}