Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit fcf3ee5

Browse files
committed
chore(typescript): fix gulp tsc to log to console
1 parent 608104b commit fcf3ee5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

gulpfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ var runSequence = require('run-sequence');
77
var spawn = require('child_process').spawn;
88

99
var runSpawn = function(done, task, opt_arg) {
10+
opt_arg = typeof opt_arg !== 'undefined' ? opt_arg : [];
1011
var child = spawn(task, opt_arg, {stdio: 'inherit'});
1112
child.on('close', function() {
1213
done();
@@ -39,7 +40,7 @@ gulp.task('typings', function(done) {
3940
});
4041

4142
gulp.task('tsc', function(done) {
42-
runSpawn(done, 'node_modules/typescript/bin/tsc');
43+
runSpawn(done, './node_modules/typescript/bin/tsc');
4344
});
4445

4546
gulp.task('prepublish', function(done) {

lib/taskScheduler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default class TaskScheduler {
6363
(path) => { return capabilitiesSpecExcludes.indexOf(path) < 0; });
6464
}
6565

66-
let specLists: Array<string> = [];
66+
let specLists: Array<Array<string>> = [];
6767
// If we shard, we return an array of one element arrays, each containing
6868
// the spec file. If we don't shard, we return an one element array
6969
// containing an array of all the spec files

0 commit comments

Comments
 (0)