Skip to content

Commit 4126b3b

Browse files
committed
fix: fix internal flag ref filterParent → firstParent
1 parent 006e155 commit 4126b3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/createInlinePluginCreator.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@ function createInlinePluginCreator(packages, multiContext, synchronizer, flags)
110110
* @internal
111111
*/
112112
const analyzeCommits = async (pluginOptions, context) => {
113-
const filterParentBranch = flags.filterParent ? context.branch.name : undefined;
113+
const firstParentBranch = flags.firstParent ? context.branch.name : undefined;
114114

115115
// Filter commits by directory.
116-
commits = await getCommitsFiltered(cwd, dir, context.lastRelease.gitHead, filterParentBranch);
116+
commits = await getCommitsFiltered(cwd, dir, context.lastRelease.gitHead, firstParentBranch);
117117

118118
// Set context.commits so analyzeCommits does correct analysis.
119119
context.commits = commits;

0 commit comments

Comments
 (0)