Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(manifest): package paths sharing same prefix being shadowed in commit-split #848

Merged
merged 3 commits into from
Apr 7, 2021

Conversation

joeldodge79
Copy link
Collaborator

No description provided.

@joeldodge79 joeldodge79 requested a review from a team April 1, 2021 16:53
@joeldodge79 joeldodge79 requested a review from a team as a code owner April 1, 2021 16:53
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Apr 1, 2021
@codecov
Copy link

codecov bot commented Apr 1, 2021

Codecov Report

Merging #848 (0d2d0d0) into master (a5e2cc2) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #848   +/-   ##
=======================================
  Coverage   93.77%   93.77%           
=======================================
  Files          64       64           
  Lines        9203     9203           
  Branches      988      988           
=======================================
  Hits         8630     8630           
  Misses        570      570           
  Partials        3        3           
Impacted Files Coverage Δ
src/commit-split.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a5e2cc2...0d2d0d0. Read the comment docs.

@@ -96,7 +96,7 @@ export class CommitSplit {
let pkgName;
if (this.packagePaths) {
// only track paths under this.packagePaths
pkgName = this.packagePaths.find(p => file.indexOf(p) === 0);
pkgName = this.packagePaths.find(p => file.indexOf(p + '/') === 0);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit, would you mind making this: `${p}/`

const fooBarCommit = buildMockCommit('fix(foobar): fix foobar', [
fooBarPath + '/foobar.ts',
]);
const foobarCommit = buildMockCommit('fix(foo+bar): fix foo+bar', [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here, would you mind making these backticks?

@bcoe bcoe added the automerge Merge the pull request once unit tests and other checks pass. label Apr 7, 2021
@gcf-merge-on-green
Copy link
Contributor

Merge-on-green attempted to merge your PR for 6 hours, but it was not mergeable because either one of your required status checks failed, one of your required reviews was not approved, or there is a do not merge label. Learn more about your required status checks here: https://help.github.com/en/github/administering-a-repository/enabling-required-status-checks. You can remove and reapply the label to re-run the bot.

@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Apr 7, 2021
@bcoe bcoe merged commit 29ba3b5 into master Apr 7, 2021
@bcoe bcoe deleted the commit-split-bugfix-again branch April 7, 2021 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants