-
Notifications
You must be signed in to change notification settings - Fork 29
/
conventional-changelog-core+4.2.1.patch
26 lines (25 loc) · 1.49 KB
/
conventional-changelog-core+4.2.1.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff --git a/node_modules/conventional-changelog-core/index.js b/node_modules/conventional-changelog-core/index.js
index a7eb756..f095452 100644
--- a/node_modules/conventional-changelog-core/index.js
+++ b/node_modules/conventional-changelog-core/index.js
@@ -29,7 +29,7 @@ function conventionalChangelog (options, context, gitRawCommitsOpts, parserOpts,
return gitRawCommits(_.merge({}, gitRawCommitsOpts, {
from: from,
to: to
- }))
+ }), gitRawExecOpts)
.on('error', function (err) {
if (!commitsErrorThrown) {
setImmediate(commitsStream.emit.bind(commitsStream), 'error', err)
diff --git a/node_modules/conventional-changelog-core/lib/merge-config.js b/node_modules/conventional-changelog-core/lib/merge-config.js
index 8428bf4..72699b8 100644
--- a/node_modules/conventional-changelog-core/lib/merge-config.js
+++ b/node_modules/conventional-changelog-core/lib/merge-config.js
@@ -21,7 +21,7 @@ const rhosts = /github|bitbucket|gitlab/i
function semverTagsPromise (options) {
return Q.Promise(function (resolve, reject) {
- gitSemverTags({ lernaTags: !!options.lernaPackage, package: options.lernaPackage, tagPrefix: options.tagPrefix, skipUnstable: options.skipUnstable }, function (err, result) {
+ gitSemverTags({ lernaTags: !!options.lernaPackage, package: options.lernaPackage, tagPrefix: options.tagPrefix, skipUnstable: options.skipUnstable, cwd: options.pkg.path }, function (err, result) {
if (err) {
reject(err)
} else {