Skip to content

Commit

Permalink
fix: await
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Apr 21, 2018
1 parent 6a82a61 commit e35604d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default class Plugins {
if (!c.valid && !this.config.plugins.find(p => p.name === '@oclif/plugin-legacy')) {
throw new CLIError('plugin is not a valid oclif plugin')
}
this.add({type: 'link', name: c.name, root: c.root})
await this.add({type: 'link', name: c.name, root: c.root})
}

async add(plugin: Config.PJSON.PluginTypes) {
Expand Down

0 comments on commit e35604d

Please sign in to comment.