This commit is contained in:
AlteredCoder 2020-05-26 12:27:05 +02:00
parent 8f54278f10
commit 782f43c5a0

View file

@ -61,7 +61,7 @@ func FileInit(fileFolder string, filename string) error {
fileType := "string"
scanner := bufio.NewScanner(file)
scanner.Scan()
if scanner.Text() == "#type: regex" { // if file contains, it should have this header
if scanner.Text() == "#type: regex" { // if file contains regexps, it should have this header
fileType = "regex"
}
for scanner.Scan() {