Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
Use pjson from config
Browse files Browse the repository at this point in the history
  • Loading branch information
chadian committed Apr 2, 2020
1 parent e3267ed commit ac96bf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ac96bf7

Please sign in to comment.