mirror of
https://github.com/kovetskiy/mark.git
synced 2025-04-24 05:42:40 +08:00
Merge pull request #243 from mrueg/fix-lint
Lint: Disable staticcheck for strings.Title
This commit is contained in:
commit
5ff8daf5e1
@ -74,6 +74,7 @@ func ExtractMeta(data []byte) (*Meta, []byte, error) {
|
||||
meta.Type = "page" //Default if not specified
|
||||
}
|
||||
|
||||
//nolint:staticcheck
|
||||
header := strings.Title(matches[1])
|
||||
|
||||
var value string
|
||||
|
Loading…
x
Reference in New Issue
Block a user