We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31a8fd0 commit 00e3381Copy full SHA for 00e3381
lib/lifecycles/changelog.js
@@ -35,8 +35,7 @@ function outputChangelog (args, newVersion) {
35
oldContent = oldContent.substring(oldContentStart)
36
}
37
let content = ''
38
- let context
39
- if (args.dryRun) context = { version: newVersion }
+ const context = { version: newVersion }
40
let changelogStream = conventionalChangelog({
41
debug: args.verbose && console.info.bind(console, 'conventional-changelog'),
42
preset: presetLoader(args),
0 commit comments