Skip to content

Commit

Permalink
Pass repository into remark-github as well (skip reading package.json…
Browse files Browse the repository at this point in the history
… twice)
  • Loading branch information
vweevers committed Aug 10, 2019
1 parent 1e14759 commit 80131b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion options.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = function (argv, packageOpts, files, cwd, repo) {
reporterOptions,
plugins: [
[require('remark-git-contributors'), { contributors }],
[require('remark-github')],
[require('remark-github'), { repository: repo }],
[require('remark-toc'), {
maxDepth: 2,
tight: true
Expand Down

0 comments on commit 80131b3

Please sign in to comment.