Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Jul 5, 2023
1 parent 511021f commit 6f2600c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions denops/ddu/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ export function main(denops: Denops) {
return Promise.resolve(loader.getAliasNames(arg1 as DduAliasType));
},
async loadConfig(arg1: unknown): Promise<void> {
// NOTE: Lock until load finished to prevent execute start() API.
await lock.lock(async () => {
const path = ensure(arg1, is.String);
const mod = await import(toFileUrl(path).href);
Expand Down

0 comments on commit 6f2600c

Please sign in to comment.