From ac96bf7968f93800e3ad607ba298322ef2f33d62 Mon Sep 17 00:00:00 2001 From: Chad Carbert Date: Thu, 2 Apr 2020 14:17:51 -0400 Subject: [PATCH] Use pjson from config --- src/command.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command.ts b/src/command.ts index 44b7ce09..3a7d6c12 100644 --- a/src/command.ts +++ b/src/command.ts @@ -186,7 +186,7 @@ export default abstract class Command { } protected _help() { - const pluginPackage = getHelpPluginPackage(pjson) + const pluginPackage = getHelpPluginPackage(this.config.pjson) const HHelp = require(pluginPackage).default const help: HelpBase = new HHelp(this.config) const cmd = Config.Command.toCached(this.ctor as any as Config.Command.Class)