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

Commit

Permalink
fix: undefined children (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
RasPhilCo authored Dec 27, 2018
1 parent 0878dfa commit 1b6d02f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@ export class Config implements IConfig {
this.plugins.push(instance)
if (parent) {
instance.parent = parent
if (!parent.children) parent.children = []
parent.children.push(instance)
}
await this.loadPlugins(instance.root, type, instance.pjson.oclif.plugins || [], instance)
Expand Down

0 comments on commit 1b6d02f

Please sign in to comment.