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) {
if (item) {
item.wrap(null, callback);
return item.wrap(null, callback);
} else {
this.run(null, callback);
return this.run(null, callback);
}
}