Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
adjusting where inconsistency is set. if we are inconsistent, but the…
…re is no lock file, we know that we have to exit with code 1
  • Loading branch information
scbedd committed Sep 9, 2019
commit 8a29e4f69e036f837d3ac0bc776666f20d78032b
3 changes: 2 additions & 1 deletion scripts/analyze_deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,6 @@ def render_report(output_path, report_context):
print('\n\nIncompatible dependency versions detected in libraries, run this script with --verbose for details')
else:
print('\n')
exitcode = 1
else:
print('\n\nAll library dependencies verified, no incompatible versions detected')

Expand Down Expand Up @@ -257,6 +256,8 @@ def render_report(output_path, report_context):
frozen[req_name] = [spec]
except:
print('Unable to open shared_requirements.txt, shared requirements have not been validated')
if inconsistent:
exitcode = 1

missing_reqs, new_reqs, changed_reqs = {}, {}, {}
non_overridden_reqs_count = 0
Expand Down