Skip to content

Commit 701fa70

Browse files
authored
Update git.go
1 parent 593d41e commit 701fa70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/setting/git.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ var Git = struct {
7171
func newGit() {
7272
sec := Cfg.Section("git")
7373

74-
if err := Cfg.Section("git").MapTo(&Git); err != nil {
74+
if err := sec.MapTo(&Git); err != nil {
7575
log.Fatal("Failed to map Git settings: %v", err)
7676
}
7777

0 commit comments

Comments
 (0)