snyk / add-to-package

Adds Snyk to node packages, both for test, protect and version bumps.
Other
2 stars 5 forks source link

fix: Support windows by using && instead of ; #7

Closed lili2311 closed 5 years ago

lili2311 commented 5 years ago

Why is this change being made?

The script we add doesn't work on Windows today.

BREAKING CHANGE:

This will fail the prepare/prepublish script as &&only continues when the first command succeeds.

If a user is not patched, we want to stop as they are not protected

Linked issue

https://github.com/snyk/snyk/issues/646

snyksec commented 5 years ago

:tada: This PR is included in version 3.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: