grunt-retire icon indicating copy to clipboard operation
grunt-retire copied to clipboard

Added support for severity

Open hmlugo opened this issue 5 years ago • 0 comments

Usage:

On Gruntfile add severity in retire configuration to indicate the minimum severity that will cause grunt task to fail. Note that all vulnerabilities are still displayed for reference.

Not passing the severity value will trigger default of 'all' which keeps the task behaving as it is now; i.e., any vulnerability found will cause grunt to fail regardless of the severity.

On the other hand, severity of 'none' will cause grunt task to always pass.

hmlugo avatar Apr 24 '20 00:04 hmlugo