Run lint & fmt
This commit is contained in:
parent
c7c96b787a
commit
9349afc00f
7 changed files with 73 additions and 47 deletions
|
|
@ -39,7 +39,7 @@ export class Settings {
|
|||
private readonly onSettingsChangeHandlers: ((
|
||||
newSettings: SyncSettings,
|
||||
oldSettings: SyncSettings
|
||||
) => Promise<unknown> | unknown)[] = [];
|
||||
) => unknown)[] = [];
|
||||
|
||||
public constructor(
|
||||
private readonly logger: Logger,
|
||||
|
|
@ -86,7 +86,9 @@ export class Settings {
|
|||
|
||||
public async setSettings(value: Partial<SyncSettings>): Promise<void> {
|
||||
await this.lock.withLock(async () => {
|
||||
this.logger.debug(`Updating settings with: ${JSON.stringify(value)}`);
|
||||
this.logger.debug(
|
||||
`Updating settings with: ${JSON.stringify(value)}`
|
||||
);
|
||||
const oldSettings = this.settings;
|
||||
this.settings = {
|
||||
...this.settings,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue