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 incorrect repo parsing for project names with . characters #155

Merged
merged 5 commits into from
Oct 29, 2019

Conversation

shrikanthkr
Copy link
Contributor

Fixes: #154

Fix incorrect repo parsing regex. Repo Url https://github.com/emberjs/ember.js.git should have given emberjs/ember.js as the repo name instead it ended up giving emberjs/ember based on the regex.

…e test case which fails with the previos regex

Also added a reference url which has a detailed regex of ungrouping different git based urls and extracting the info from it
Copy link
Contributor

@Turbo87 Turbo87 left a comment

Choose a reason for hiding this comment

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

sorry that it took me so long to review this. forgot about it... 😞

src/configuration.ts Outdated Show resolved Hide resolved
@shrikanthkr shrikanthkr requested a review from Turbo87 October 28, 2019 17:46
src/configuration.ts Outdated Show resolved Hide resolved
@Turbo87 Turbo87 merged commit 4f85a19 into lerna:master Oct 29, 2019
@Turbo87 Turbo87 changed the title fix: Incorrect repo parsing in configuration.ts > findRepoFromPkg method. Fix incorrect repo parsing for project names with . characters Nov 11, 2019
@Turbo87 Turbo87 added the bug label Nov 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect repo parsing in configuration.ts > findRepoFromPkg method.
2 participants