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

fix: undefined children #68

Merged
merged 1 commit into from
Dec 27, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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