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) {
|
||||
if (item) {
|
||||
item.wrap(null, callback);
|
||||
return item.wrap(null, callback);
|
||||
} else {
|
||||
this.run(null, callback);
|
||||
return this.run(null, callback);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user