mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
fix for .js config files
This commit is contained in:
parent
daf913007a
commit
d86cf6b1eb
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue