aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/pr/checkout.go
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/pr/checkout.go')
-rw-r--r--contrib/pr/checkout.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pr/checkout.go b/contrib/pr/checkout.go
index 1e2a9714e3..18c0585f47 100644
--- a/contrib/pr/checkout.go
+++ b/contrib/pr/checkout.go
@@ -49,7 +49,7 @@ func runPR() {
log.Fatal(err)
}
setting.SetCustomPathAndConf("", "", "")
- setting.NewContext()
+ setting.LoadAllowEmpty()
setting.RepoRootPath, err = os.MkdirTemp(os.TempDir(), "repos")
if err != nil {