Skip to content

Commit

Permalink
Upgrade remark-changelog from ~0.1.1 to ~0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers committed Sep 6, 2019
1 parent e804671 commit 6a793f6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if (argv.help) {
if (err) throw err
if (files.length === 0) process.exit()

engine(options(argv, packageOpts, files, cwd, repo), function (err, code) {
engine(options(argv, pkg, packageOpts, files, cwd, repo), function (err, code) {
if (err) throw err
process.exit(code)
})
Expand Down
4 changes: 2 additions & 2 deletions options.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const color = require('supports-color').stdout
const extensions = require('markdown-extensions')
const processor = require('remark')

module.exports = function (argv, packageOpts, files, cwd, repository) {
module.exports = function (argv, pkg, packageOpts, files, cwd, repository) {
let reporter
let reporterOptions

Expand Down Expand Up @@ -38,7 +38,7 @@ module.exports = function (argv, packageOpts, files, cwd, repository) {
contributors: contributors || null
}] : null,

[require('remark-changelog'), { cwd, fix, repository }],
[require('remark-changelog'), { cwd, fix, repository, version: pkg.version }],
[require('remark-github'), { repository }],

// TODO: https://github.com/vweevers/hallmark/issues/36
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"find-root": "~1.1.0",
"markdown-extensions": "~1.1.1",
"remark": "~11.0.0",
"remark-changelog": "~0.1.1",
"remark-changelog": "~0.1.2",
"remark-collapse": "~0.1.2",
"remark-git-contributors": "~2.0.0",
"remark-github": "~8.0.0",
Expand Down

0 comments on commit 6a793f6

Please sign in to comment.