fix for .js config files

This commit is contained in:
OniriCorpe 2024-02-23 18:38:17 +01:00 committed by GitHub
parent daf913007a
commit d86cf6b1eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1575,7 +1575,7 @@ class Configurations(TestSuite):
return return
for number, line in enumerate(content.split("\n"), 1): for number, line in enumerate(content.split("\n"), 1):
comment = ("#", "//", ";") comment = ("#", "//", ";", "/**", "*")
if ( if (
( "0.0.0.0" in line or "::" in line ) ( "0.0.0.0" in line or "::" in line )
and not line.strip().startswith(comment) and not line.strip().startswith(comment)