diff --git a/src/config/plugin.ts b/src/config/plugin.ts index 736abffcc..681d18e97 100644 --- a/src/config/plugin.ts +++ b/src/config/plugin.ts @@ -298,6 +298,7 @@ export class Plugin implements IPlugin { } private async getCommandsDir(): Promise { + if (this.commandsDir) return this.commandsDir this.commandsDir = await tsPath(this.root, this.pjson.oclif.commands, this) return this.commandsDir }