1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-06 18:47:19 +00:00

update revive lint to latest commit (#12921)

* update revive lint to latest commit

* make fmt

* change import
This commit is contained in:
techknowlogick
2020-09-22 13:02:16 -04:00
committed by GitHub
parent 63e8bdaf73
commit 1c3278c2fa
154 changed files with 5965 additions and 8502 deletions

View File

@ -163,7 +163,7 @@ func tomlValueStringRepresentation(v interface{}, commented string, indent strin
return "\"" + encodeTomlString(value) + "\"", nil
case []byte:
b, _ := v.([]byte)
return tomlValueStringRepresentation(string(b), commented, indent, ord, arraysOneElementPerLine)
return string(b), nil
case bool:
if value {
return "true", nil