Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

Commit

Permalink
fix: ensure topic docs only have specific topic
Browse files Browse the repository at this point in the history
before this a topic like "auth" would include "authorizations"
  • Loading branch information
jdx committed May 31, 2018
1 parent 289f225 commit d9c0386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/readme.ts
Expand Up @@ -98,7 +98,7 @@ USAGE
path.join('.', 'docs', topic.name.replace(/:/g, '/') + '.md'),
config,
topic,
commands.filter(c => c.id.startsWith(topic.name)),
commands.filter(c => c.id === topic.name || c.id.startsWith(topic.name + ':')),
)
}

Expand Down

0 comments on commit d9c0386

Please sign in to comment.