From 1070e57a3dd2cb7171044f8bd872b012ffce3fdc Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdxcode@users.noreply.github.com> Date: Wed, 7 Feb 2018 00:41:59 -0800 Subject: [PATCH] fix: remove undefined topics --- src/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.ts b/src/config.ts index 43140a58..a01fa8b4 100644 --- a/src/config.ts +++ b/src/config.ts @@ -285,7 +285,7 @@ export class Config implements IConfig { get topics(): Topic[] { let topics: Topic[] = [] for (let plugin of this.plugins) { - for (let topic of plugin.topics) { + for (let topic of compact(plugin.topics)) { let existing = topics.find(t => t.name === topic.name) if (existing) { existing.description = topic.description || existing.description