Skip to content

Commit

Permalink
fix: Output in git config cache error ⚓ (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabyx authored May 24, 2022
1 parent 8025718 commit 56b3619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion githooks/git/gitconfig-cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func parseConfig(s string, filterFunc func(string) bool) (c ConfigCache, err err

idx := toMapIdx(scope)
if idx < 0 {
err = cm.Error("Wrong Git config scope '%v' for value '%s'", scope, txt)
err = cm.ErrorF("Wrong Git config scope '%v' for value '%s'", scope, txt)

return
}
Expand Down

0 comments on commit 56b3619

Please sign in to comment.