Commit 6228a034 authored by Michal Čihař's avatar Michal Čihař

Run source checks on no change as well

Issue #466
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent c6940b72
......@@ -840,6 +840,11 @@ class Unit(models.Model):
if 'inconsistent' in CHECKS:
checks_to_run['inconsistent'] = CHECKS['inconsistent']
# Run source checks as well
for check in CHECKS:
if check.source:
checks_to_run[check.check_id] = check
cleanup_checks = False
return (checks_to_run, cleanup_checks)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment