this should return any promise returned, otherwise breaks tests

This commit is contained in:
Bruno Windels 2021-06-23 11:42:32 +02:00
parent 8991632105
commit 4d19f8d21d

View File

@ -31,9 +31,9 @@ export class NullLogger {
wrapOrRun(item, _, callback) { wrapOrRun(item, _, callback) {
if (item) { if (item) {
item.wrap(null, callback); return item.wrap(null, callback);
} else { } else {
this.run(null, callback); return this.run(null, callback);
} }
} }