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

Commit

Permalink
fix: add description to command topics
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Feb 17, 2018
1 parent 84b4458 commit 684c214
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 684c214

Please sign in to comment.