fix(xo-server/remote-handlers): do not swallow sync() value
This commit is contained in:
parent
788a1accbd
commit
48910f9c0f
@ -33,11 +33,11 @@ export default class RemoteHandlerAbstract {
|
|||||||
/**
|
/**
|
||||||
* Asks the handler to sync the state of the effective remote with its' metadata
|
* Asks the handler to sync the state of the effective remote with its' metadata
|
||||||
*/
|
*/
|
||||||
async sync (): Promise<void> {
|
async sync (): Promise<mixed> {
|
||||||
await this._sync()
|
return this._sync()
|
||||||
}
|
}
|
||||||
|
|
||||||
async _sync (): Promise<void> {
|
async _sync (): Promise<mixed> {
|
||||||
throw new Error('Not implemented')
|
throw new Error('Not implemented')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user