Open arifszn opened 4 months ago
Pest now fails (non-zero exit code) when warnings are encountered with the --fail-on-warning flag. Previously, it passed (zero exit code) even with warnings present as it returned SUCCESS_EXIT before checking the warning count.
--fail-on-warning
SUCCESS_EXIT
Fix #1074.
Ping @nunomaduro
What:
Description:
Pest now fails (non-zero exit code) when warnings are encountered with the
--fail-on-warning
flag. Previously, it passed (zero exit code) even with warnings present as it returnedSUCCESS_EXIT
before checking the warning count.Related:
Fix #1074.