Skip to content

Commit a96f86c

Browse files
authored
fix: Fail build if Cypress runs into a problem (#54)
and not just the plugin https://twitter.com/kentcdodds/status/1266080445810094080
1 parent 2a668b9 commit a96f86c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ const processCypressResults = (results, buildUtils) => {
114114
console.error('Problem running Cypress')
115115
console.error(results.message)
116116

117-
return buildUtils.failPlugin('Problem running Cypress', {
117+
return buildUtils.failBuild('Problem running Cypress', {
118118
error: new Error(results.message)
119119
})
120120
}

0 commit comments

Comments
 (0)