InfoSec812 / npm-audit-ci-wrapper

A wrapper for 'npm audit' which can be configurable for use in a CI/CD tool like Jenkins
Apache License 2.0
13 stars 11 forks source link

Add detection for proper state and error message which explains proper state #50

Closed InfoSec812 closed 4 years ago

InfoSec812 commented 4 years ago

Since npm audit requires that npm install has already been run and there is a populated package-lock.json in the project, we need to add a warning/error to the npm-audit-ci-wrapper tool which will tell the user that it cannot run if that it not the current status of the project.