Skip to content

Commit 7d98e84

Browse files
committed
Fail only if issues are found
Fixes #68
1 parent 0668084 commit 7d98e84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module.exports = {
3131

3232
console.log(report)
3333

34-
if (failWithIssues) {
34+
if (failWithIssues && issueCount > 0) {
3535
build.failBuild(reportSummary)
3636
} else {
3737
console.warn(pico.magenta(reportSummary))

0 commit comments

Comments
 (0)