debricked / cli

Debricked's command line interface. It brings open source security, compliance and health to your project via the command prompt.
MIT License
20 stars 9 forks source link

Cleanup venv even if command fails #133

Closed emilwareus closed 11 months ago

github-actions[bot] commented 11 months ago

CodeScene PR Check


View detailed results in CodeScene

Code Health Quality Gates ✅ OK
Recommended Review Level Lightweight sanity check
Declining Code Health 0 findings(s) 🚩
Improving Code Health 1 findings(s) ✅
Affected Hotspots 2 files(s) 🔥

✅ Improving Code Health:

emilwareus commented 11 months ago

Could you add a test which asserts that venv goes away on failure?

Looks good otherwise!

Added one now, if you revert the fix in job.go it should fail