Skip to content

Commit

Permalink
fix: ignore hasDynamicHelp if JIT plugin (#607)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Jan 31, 2023
1 parent a2eddae commit d280fa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/help/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class Help extends HelpBase {

const command = this.config.findCommand(subject)
if (command) {
if (command.hasDynamicHelp) {
if (command.hasDynamicHelp && command.pluginType !== 'jit') {
const dynamicCommand = await toCached(await command.load())
await this.showCommandHelp(dynamicCommand)
} else {
Expand Down

0 comments on commit d280fa5

Please sign in to comment.