Skip to content

Commit

Permalink
add missing await
Browse files Browse the repository at this point in the history
  • Loading branch information
undefined-moe authored Jun 28, 2022
1 parent 12d19e0 commit f896fab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/frontend/manager/src/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class Installer extends DataService<Dict<Dependency>> {

installDep = async (deps: Dict<string>) => {
const agent = which()?.name || 'npm'
const oldPayload = this.get()
const oldPayload = await this.get()
await this.override(deps)
const args: string[] = []
if (agent !== 'yarn') args.push('install')
Expand Down

0 comments on commit f896fab

Please sign in to comment.