mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Don't check comment line.
This commit is contained in:
parent
eb5bfa2762
commit
9f4fa2ef7e
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ def check_verifications_done_before_modifying_system(script):
|
|||
if i >= ex: break
|
||||
j = 0
|
||||
while (j < len(cmd)):
|
||||
if cmd[j] in script[i]:
|
||||
if cmd[j] in script[i] and script[i][0] != '#':
|
||||
print(c.FAIL + "✘ At line", i + 1, "\"" + cmd[j] + "\" command is executed before verifications are made." + c.END)
|
||||
print("This system modification is an issue if a verification exit the script.")
|
||||
print("You should move this command bellow verifications."); ok = 0
|
||||
|
|
Loading…
Add table
Reference in a new issue