diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2017-09-20 15:32:35 +0200 |
---|---|---|
committer | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2017-09-25 19:27:50 +0200 |
commit | 781647b1820206e95e5c32be2dffb20e9096b1e4 (patch) | |
tree | 48e0bbe8a030e9e0c6fae183f4163a6278dd0a00 /build/tasks/promises_aplus_tests.js | |
parent | 90bac40a5123038c94a6fd8c1fde7fbe758b08c7 (diff) | |
download | jquery-781647b1820206e95e5c32be2dffb20e9096b1e4.tar.gz jquery-781647b1820206e95e5c32be2dffb20e9096b1e4.zip |
Build: Drop cross-spawn, use child_process.spawn shell option
Diffstat (limited to 'build/tasks/promises_aplus_tests.js')
-rw-r--r-- | build/tasks/promises_aplus_tests.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build/tasks/promises_aplus_tests.js b/build/tasks/promises_aplus_tests.js index a0118d1f0..c634da5f7 100644 --- a/build/tasks/promises_aplus_tests.js +++ b/build/tasks/promises_aplus_tests.js @@ -9,15 +9,15 @@ module.exports = function( grunt ) { grunt.registerTask( "promises_aplus_tests:deferred", function() { spawnTest( this.async(), - "./node_modules/.bin/promises-aplus-tests", - "test/promises_aplus_adapters/deferred.js" + __dirname + "/../../node_modules/.bin/promises-aplus-tests" + + " test/promises_aplus_adapters/deferred.js" ); } ); grunt.registerTask( "promises_aplus_tests:when", function() { spawnTest( this.async(), - "./node_modules/.bin/promises-aplus-tests", - "test/promises_aplus_adapters/when.js" + __dirname + "/../../node_modules/.bin/promises-aplus-tests" + + " test/promises_aplus_adapters/when.js" ); } ); }; |