From 684c2147ee00b0faa6968b4fe6a7a30418d06f42 Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdxcode@users.noreply.github.com> Date: Sat, 17 Feb 2018 01:07:30 -0800 Subject: [PATCH] fix: add description to command topics --- package.json | 2 +- src/config.ts | 2 +- yarn.lock | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 8a2cc3cf..25d32c97 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "concurrently": "^3.5.1", "debug": "^3.1.0", "fancy-test": "^1.0.1", - "globby": "^8.0.0", + "globby": "^8.0.1", "mocha": "^5.0.1", "ts-node": "^4.1.0", "tslint": "^5.9.1", diff --git a/src/config.ts b/src/config.ts index 9f6220dd..eb1494ba 100644 --- a/src/config.ts +++ b/src/config.ts @@ -302,7 +302,7 @@ export class Config implements IConfig { while (parts.length) { let name = parts.join(':') if (name && !topics.find(t => t.name === name)) { - topics.push({name}) + topics.push({name, description: c.description}) } parts.pop() } diff --git a/yarn.lock b/yarn.lock index e7bfbd34..391c74f4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -530,9 +530,9 @@ glob@7.1.2, glob@^7.1.1, glob@^7.1.2: once "^1.3.0" path-is-absolute "^1.0.0" -globby@^8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/globby/-/globby-8.0.0.tgz#e6f8340ead9a52fa417ec0e75ae664ae0026f5c6" +globby@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/globby/-/globby-8.0.1.tgz#b5ad48b8aa80b35b814fc1281ecc851f1d2b5b50" dependencies: array-union "^1.0.1" dir-glob "^2.0.0"