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

Commit

Permalink
fix: templatize topic descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed May 30, 2018
1 parent 8d6e1ce commit 22cc896
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/commands/readme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ USAGE
bin,
'='.repeat(bin.length),
'',
topic.description,
template({config})(topic.description || '').trim(),
'',
this.commands(config, commands),
].join('\n').trim() + '\n'
fs.outputFileSync(file, doc)
Expand Down

0 comments on commit 22cc896

Please sign in to comment.