Skip to content

Commit a0e9648

Browse files
committed
refactor: . Remove braces around arrow function body
1 parent 6468375 commit a0e9648

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Obsidian/Cache.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,8 @@ export class Cache {
234234
});
235235
this.eventsEventReferences.push(requestReference);
236236

237-
const reloadVaultReference = this.events.onReloadVault(async () => {
238-
// The caller is responsible for debouncing this.
239-
await this.loadVault();
240-
});
237+
// The caller is responsible for debouncing this:
238+
const reloadVaultReference = this.events.onReloadVault(async () => await this.loadVault());
241239
this.eventsEventReferences.push(reloadVaultReference);
242240
}
243241

0 commit comments

Comments
 (0)