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

Split out remote regexp in to smaller parts #108

Merged
merged 1 commit into from
Jul 5, 2023

Conversation

beahues
Copy link
Contributor

@beahues beahues commented Jul 3, 2023

By splitting by fields, we get a nice slice of [name URL purpose] which makes the regexp for matching a URL more manageable and work with github URLs without usernames #107

(sorry it's been about 4-5 years since I last touched any Go)

By splitting by fields, we get a nice slice of [name URL purpose]
which makes the regexp for matching a URL more manageable.
@codecov
Copy link

codecov bot commented Jul 5, 2023

Codecov Report

Merging #108 (fc9d1a9) into main (fdbd0f3) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #108      +/-   ##
==========================================
+ Coverage   81.79%   81.84%   +0.04%     
==========================================
  Files           4        4              
  Lines         758      760       +2     
==========================================
+ Hits          620      622       +2     
  Misses        114      114              
  Partials       24       24              
Impacted Files Coverage Δ
cmd/root.go 88.82% <100.00%> (+0.04%) ⬆️

@seachicken
Copy link
Owner

Looks very good, thanks!
I will release it soon.

@seachicken seachicken merged commit 00d6db2 into seachicken:main Jul 5, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants