mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Fix test misc_nginx_check_regex_in_location : /conf/ was missing...
This commit is contained in:
parent
377f425d17
commit
107e6ed790
1 changed files with 1 additions and 1 deletions
|
@ -1445,7 +1445,7 @@ class Configurations(TestSuite):
|
||||||
):
|
):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
cmd = 'grep -q -IhEro "location ~ __PATH__" %s' % filename
|
cmd = 'grep -q -IhEro "location ~ __PATH__" %s' % (app.path + "/conf/" + filename)
|
||||||
|
|
||||||
if os.system(cmd) != 0:
|
if os.system(cmd) != 0:
|
||||||
yield Warning(
|
yield Warning(
|
||||||
|
|
Loading…
Add table
Reference in a new issue