Closed aarlaud closed 3 years ago
:tada: This PR is included in version 2.0.5 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
@mathild3r we don't run snyk-delta explicitly, I believe snyk_prevent_commit-status invokes it internally. will passing --setPassIfNoBaseline to snyk_prevent_commit-status work?
@jeetchoudhary it won't, setPassIfNoBaseline is a snyk-delta option, and it's set to false. so if you use snyk-prevent-commit-status on its own the default behaviour will apply. it will fail if there is no baseline.
ohh. that's a bummer then. Users using snyk-prevent-commit-status alone are left with no option then. Is there is a way you can support it?
we had a discussion with Andre and he is aware of the fact that Salesforce uses snyk-prevent-commit-status alone
we're fixing that. looking to push out a version shortly.
Check out the v2.0.6 @jeetchoudhary , should do the trick.
What this does
Release changes and fixes in snyk-delta Adds passIfNoBaseline option to not fail in case there is not baseline/monitored project snapshot to compare against and the current test contains vulns. It typically helps on the first iterations when we try to get the Snyk mechanic in and get a monitored snapshot.