this should return any promise returned, otherwise breaks tests
This commit is contained in:
parent
8991632105
commit
4d19f8d21d
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue