Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit 919cc8e

Browse files
committed
Merge pull request #36 from scamden/master
allow user to pass preid to semver
2 parents c63c31d + d23cb78 commit 919cc8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module.exports = function(opts) {
3838
}
3939
else if (semver.valid(content[opts.key])) {
4040
// increment the key with type
41-
content[opts.key] = semver.inc(content[opts.key], opts.type);
41+
content[opts.key] = semver.inc(content[opts.key], opts.type, opts.preid);
4242
ver = content[opts.key];
4343
}
4444
else if (opts.key.indexOf('.') > -1) {

0 commit comments

Comments
 (0)