following gofmt -s

This commit is contained in:
Jesse Portnoy
2023-07-17 14:26:19 +01:00
parent d9ba8dbabb
commit eb804a2dd6
3 changed files with 29 additions and 30 deletions
+3 -3
View File
@@ -9,9 +9,9 @@ func DetectFiletype(defs []*Def, filename string, firstLine []byte) *Def {
return d
}
if len(d.ftdetect) > 1 {
if d.ftdetect[1].MatchString(string(firstLine)) {
return d
}
if d.ftdetect[1].MatchString(string(firstLine)) {
return d
}
}
}