diff options
Diffstat (limited to 'modules/git/utils.go')
-rw-r--r-- | modules/git/utils.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git/utils.go b/modules/git/utils.go index 6988f31a36..53c124ac8a 100644 --- a/modules/git/utils.go +++ b/modules/git/utils.go @@ -125,7 +125,7 @@ func SplitRefName(refStr string) (string, string) { // 0 is false, true // Any other integer is true, true // Anything else will return false, false -func ParseBool(value string) (result bool, valid bool) { +func ParseBool(value string) (result, valid bool) { // Empty strings are true but invalid if len(value) == 0 { return true, false |