-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Description
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
yarn audit
set the exit code
related to the number of issues found.
If the number of issues is greater than 255 the exit code overflows
This means that if are found exactly 256 issues the exit code is 0.
If the current behavior is a bug, please provide the steps to reproduce.
This is a package.json crafted to trigger exactly 256 issues
https://gist.github.com/MRoci/e28694334ff6771cc7fd14e6d762f355
What is the expected behavior?
The expected behaviour should be an exit status always different from 0 in case of failure
Please mention your node.js, yarn and operating system version.
yarn version v1.12.3
node version: any that i know
OS: OSX Mojave 10.14.x
SharpEdgeMarshall, LasaleFamine, simobasso, scerelli, smarzola and 2 moreLasaleFamine, simobasso, scerelli, smarzola, antrew and 1 moreKevinHock