File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ $(./index.js $ARG0 eval 'console.log(\"hello\"); phantom.exit();') = 'hello' \
130130printf \"passed\n\" || exit $?; \
131131done"
132132 },
133- "version": "2015.4.9 -a"
133+ "version": "2015.4.18 -a"
134134}
135135```
136136
@@ -170,13 +170,18 @@ shBuild() {
170170 # run npm-test
171171 MODE_BUILD=npmTest shRunScreenCapture npm test || return $?
172172
173+ # do not continue if running legacy node
174+ [ "$(node --version)" \< "v0.12" ] && return
175+
173176 # if number of commits > 1024, then squash older commits
174177 shRun shGitBackupAndSquashAndPush 1024 > /dev/null || return $?
175178}
176179shBuild
177180
178181# save exit-code
179182EXIT_CODE=$?
183+
184+ # do not continue if running legacy node
180185[ "$(node --version)" \< "v0.12" ] && exit $EXIT_CODE
181186
182187shBuildCleanup() {
Original file line number Diff line number Diff line change 3535 "preinstall" : " touch phantomjs slimerjs" ,
3636 "test" : " node_modules/.bin/utility2 shRun shReadmePackageJsonExport && for ARG0 in phantomjs slimerjs; do printf \" testing $ARG0\n\" || exit $?; [ $(./index.js $ARG0 eval 'console.log(\" hello\" ); phantom.exit();') = 'hello' ] || exit $?; printf \" passed\n\" || exit $?; done"
3737 },
38- "version" : " 2015.4.9 -a"
38+ "version" : " 2015.4.18 -a"
3939}
You can’t perform that action at this time.
0 commit comments