From e90f4bee1a33646edee0dcb88546f2173543a5f3 Mon Sep 17 00:00:00 2001 From: mlgd Date: Fri, 9 Dec 2016 09:37:10 +0100 Subject: [PATCH] Remove a regression on AppPath The application path is incorrect on Windows with the command line "go run". AppPath is assigned to the temp directory instead the folder project --- config.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/config.go b/config.go index 36bf445c..52e647db 100644 --- a/config.go +++ b/config.go @@ -144,9 +144,6 @@ func init() { if err = parseConfig(appConfigPath); err != nil { panic(err) } - if err = os.Chdir(AppPath); err != nil { - panic(err) - } } func recoverPanic(ctx *context.Context) {