mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
this should return any promise returned, otherwise breaks tests
This commit is contained in:
parent
8991632105
commit
4d19f8d21d
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user