chore: enable fmt check (#1742)
chore: enable fmt check Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com> Reviewed-on: https://gitea.com/xorm/xorm/pulls/1742 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
parent
318102c9ff
commit
fe3bc3851e
|
@ -10,6 +10,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- make vet
|
- make vet
|
||||||
- make test
|
- make test
|
||||||
|
- make fmt-check
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
|
@ -27,4 +27,3 @@ func SplitNNoCase(s, sep string, n int) []string {
|
||||||
}
|
}
|
||||||
return strings.SplitN(s, s[idx:idx+len(sep)], n)
|
return strings.SplitN(s, s[idx:idx+len(sep)], n)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue