This repository was archived by the owner on Jul 29, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ var runSequence = require('run-sequence');
7
7
var spawn = require ( 'child_process' ) . spawn ;
8
8
9
9
var runSpawn = function ( done , task , opt_arg ) {
10
+ opt_arg = typeof opt_arg !== 'undefined' ? opt_arg : [ ] ;
10
11
var child = spawn ( task , opt_arg , { stdio : 'inherit' } ) ;
11
12
child . on ( 'close' , function ( ) {
12
13
done ( ) ;
@@ -39,7 +40,7 @@ gulp.task('typings', function(done) {
39
40
} ) ;
40
41
41
42
gulp . task ( 'tsc' , function ( done ) {
42
- runSpawn ( done , 'node_modules/typescript/bin/tsc' ) ;
43
+ runSpawn ( done , './ node_modules/typescript/bin/tsc' ) ;
43
44
} ) ;
44
45
45
46
gulp . task ( 'prepublish' , function ( done ) {
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ export default class TaskScheduler {
63
63
( path ) => { return capabilitiesSpecExcludes . indexOf ( path ) < 0 ; } ) ;
64
64
}
65
65
66
- let specLists : Array < string > = [ ] ;
66
+ let specLists : Array < Array < string > > = [ ] ;
67
67
// If we shard, we return an array of one element arrays, each containing
68
68
// the spec file. If we don't shard, we return an one element array
69
69
// containing an array of all the spec files
You can’t perform that action at this time.
0 commit comments