Closed andyjones closed 1 year ago
Merging #397 (2f0bbd5) into develop (fac16b6) will decrease coverage by
0.09%
. The diff coverage is50.00%
.
@@ Coverage Diff @@
## develop #397 +/- ##
===========================================
- Coverage 86.14% 86.05% -0.10%
===========================================
Files 14 14
Lines 1711 1714 +3
===========================================
+ Hits 1474 1475 +1
- Misses 237 239 +2
Impacted Files | Coverage Δ | |
---|---|---|
safety/util.py | 81.37% <50.00%> (-0.36%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update fac16b6...2f0bbd5. Read the comment docs.
Hey @andyjones - thanks for the PR!
We're going to merge this in ASAP and get 2.1.1 released with it included.
Looks like all of our tests run in containers that have git
installed, so we didn't pick this up before release - I'll add a few new cases once the release is out to make sure we catch this case going forward.
Thanks for safety!
I get the following error running safety 2.x:
It looks like Safety 2.x introduces some checks to see if this is in a git repo. This check fails when the git binary is unavailable (eg. running safety against a dockerised application).
Reproduce the issue by running safety when
git
is not in the path eg.