Skip to content

Commit

Permalink
Update git.go
Browse files Browse the repository at this point in the history
  • Loading branch information
wxiaoguang authored Jul 5, 2022
1 parent 593d41e commit 701fa70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/setting/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ var Git = struct {
func newGit() {
sec := Cfg.Section("git")

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

Expand Down

0 comments on commit 701fa70

Please sign in to comment.