mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-19 06:33:06 -03:00
sync to the latest github/linguist v7.9.0
This commit is contained in:
@ -27,12 +27,12 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||
{{- else if eq .Op "Or" -}}
|
||||
rule.Or(
|
||||
{{ template "Languages" .Langs -}}
|
||||
regexp.MustCompile(`{{ .Pattern }}`),
|
||||
regexp.MustCompile({{ .Pattern | stringVal }}),
|
||||
),
|
||||
{{- else if eq .Op "Not" -}}
|
||||
rule.Not(
|
||||
{{ template "Languages" .Langs -}}
|
||||
regexp.MustCompile(`{{ .Pattern }}`),
|
||||
regexp.MustCompile({{ .Pattern | stringVal }}),
|
||||
),
|
||||
{{- else if eq .Op "Always" -}}
|
||||
rule.Always(
|
||||
|
Reference in New Issue
Block a user