Skip to content

Commit 46e5e51

Browse files
author
Christoph Burgmer
committed
Refactor script, set -e does the trick
1 parent 3207857 commit 46e5e51

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

go

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
function testFailure {
2-
if [ $? != 0 ]; then
3-
exit 1;
4-
fi
5-
}
1+
set -e
62

73
./node_modules/.bin/grunt
8-
testFailure
94
cd test && phantomjs phantomIntegrationTest.js
10-
testFailure

0 commit comments

Comments
 (0)