Closed DanielRosenwasser closed 5 years ago
This also seems to happen if baselines fail.
Also noticed some error message indicating gulp baseline-accept
has failed but it had updated baselines
c:\TypeScript>gulp baseline-accept
[12:38:40] Using gulpfile c:\TypeScript\gulpfile.js
[12:38:40] Starting 'baseline-accept'...
[12:38:40] The following tasks did not complete: baseline-accept
[12:38:40] Did you forget to signal async completion?
AFAIK it's because we use process.exit instead of a throw
on test failure. I think now that we don't rely on streams much, it should be able to just throw and we can set process.exitCode with the desired code.
So fixing the runtests
bit is easy, but it looks like the baseline-accept
one's a bit different. @rbuckton it looks like the
src([`${localBaseline}${subfolder ? `${subfolder}/` : ``}**/*.delete`], { base: localBaseline, read: false })
stream never calls .end()
for some reason. Is it perhaps because the rm
filter never signals completion?
Righto, so I put up a fix for the no-completion warnings, but @DanielRosenwasser your issue with ms
is simply that you need to run npm install
(if you care)
I tried running
gulp runtests-parallel
.Is it possible that the build file forgot to signal async completion?