Fixing more strict null errors in build

This commit is contained in:
Matt Bierner
2018-10-02 16:54:39 -07:00
parent 6b9ec57923
commit ddc5eeee01
11 changed files with 75 additions and 51 deletions

View File

@@ -70,7 +70,7 @@ function createReporter() {
ReportFunc.end = function (emitError) {
errors.length = 0;
onStart();
return es.through(null, function () {
return es.through(undefined, function () {
onEnd();
if (emitError && errors.length > 0) {
if (!errors.__logged__) {