Skip to content

Commit 03bfb16

Browse files
authored
Merge pull request graphql#307 from wincent/glh/explode
Make sure that broken syntax blows up in Travis
2 parents 16fe1b4 + bdf8894 commit 03bfb16

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

resources/build.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,8 @@ async function build(filter) {
3232
}
3333

3434
if (require.main === module) {
35-
build().catch(error => console.error(error.stack || error));
35+
build().catch(error => {
36+
console.error(error.stack || error)
37+
process.exit(1);
38+
});
3639
}

0 commit comments

Comments
 (0)