aboutsummaryrefslogtreecommitdiffstats
path: root/models/ssh_key_test.go
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2019-05-14 16:20:35 +0100
committertechknowlogick <techknowlogick@gitea.io>2019-05-14 11:20:35 -0400
commite55c874dd2a6162a374a9fac46c55db57bd17c5f (patch)
tree0af648181cfc9c59aededfe0b56de21e79baf1dc /models/ssh_key_test.go
parent488d34691ad79bae13320f3e831a7ff46c245a89 (diff)
downloadgitea-e55c874dd2a6162a374a9fac46c55db57bd17c5f.tar.gz
gitea-e55c874dd2a6162a374a9fac46c55db57bd17c5f.zip
Add work path CLI option (#6922)
Makes it possible to set the work path as a CLI option instead of relying on environment variables which are somewhat opaque
Diffstat (limited to 'models/ssh_key_test.go')
-rw-r--r--models/ssh_key_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/ssh_key_test.go b/models/ssh_key_test.go
index f310935a32..82f5f9724b 100644
--- a/models/ssh_key_test.go
+++ b/models/ssh_key_test.go
@@ -14,7 +14,7 @@ import (
)
func init() {
- setting.SetCustomPathAndConf("", "")
+ setting.SetCustomPathAndConf("", "", "")
setting.NewContext()
}