mirror of
https://github.com/github/codeql.git
synced 2026-01-30 06:42:57 +01:00
allow empty namespaces for Go
This commit is contained in:
committed by
Owen Mansel-Chan
parent
70c9ca5611
commit
070e383516
@@ -255,7 +255,7 @@ module CsvValidation {
|
||||
or
|
||||
summaryModel(namespace, type, _, name, signature, ext, _, _, _) and pred = "summary"
|
||||
|
|
||||
not namespace.regexpMatch("[a-zA-Z0-9_\\./]+") and
|
||||
not namespace.regexpMatch("[a-zA-Z0-9_\\./]*") and
|
||||
msg = "Dubious namespace \"" + namespace + "\" in " + pred + " model."
|
||||
or
|
||||
not type.regexpMatch("[a-zA-Z0-9_\\$<>]*") and
|
||||
|
||||
Reference in New Issue
Block a user