From e35604df0681a88f2ebbc18fb7055af202da7659 Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdxcode@users.noreply.github.com> Date: Fri, 20 Apr 2018 17:49:29 -0700 Subject: [PATCH] fix: await --- src/plugins.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins.ts b/src/plugins.ts index 25513ddd..924a625d 100644 --- a/src/plugins.ts +++ b/src/plugins.ts @@ -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) {