Skip to content

Commit a14397d

Browse files
committed
fix(transform): use new syntax of conventional-changelog@0.3.0
1 parent d707ef6 commit a14397d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function conventionalGithubReleaser(auth, changelogOpts, context, gitRawCommitsO
4040
writerOpts = changelogArgs[4];
4141

4242
changelogOpts = merge({
43-
transform: through.obj(function(chunk, enc, cb) {
43+
transform: function(chunk, cb) {
4444
if (typeof chunk.gitTags === 'string') {
4545
var match = /tag:\s*(.+?)[,\)]/gi.exec(chunk.gitTags);
4646
if (match) {
@@ -53,7 +53,7 @@ function conventionalGithubReleaser(auth, changelogOpts, context, gitRawCommitsO
5353
}
5454

5555
cb(null, chunk);
56-
}),
56+
},
5757
releaseCount: 1
5858
}, changelogOpts);
5959

0 commit comments

Comments
 (0)