seachicken / gh-poi

✨ Safely clean up your local branches
https://dev.to/seachicken/safely-clean-up-your-local-branches-9i3
MIT License
642 stars 17 forks source link

Support for newlines in Windows #55

Closed seachicken closed 2 years ago

seachicken commented 2 years ago

Does not run "gh poi" on Windows.

PS C:\Users\seito\git\GitHub\can> gh poi --dry-run
== DRY RUN ==
✕ Fetching pull requests...
/seachicken/can --json owner --json name --json parent --json defaultBranchRef]
parse "https://github.com\r/api/graphql": net/url: invalid control character in URL

"\r\n" was not being parsed, so it was fixed.

codecov[bot] commented 2 years ago

Codecov Report

Merging #55 (3f475b0) into main (5749abb) will increase coverage by 0.01%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #55      +/-   ##
==========================================
+ Coverage   89.23%   89.24%   +0.01%     
==========================================
  Files           3        3              
  Lines         585      586       +1     
==========================================
+ Hits          522      523       +1     
  Misses         48       48              
  Partials       15       15              
Impacted Files Coverage Δ
poi.go 91.38% <100.00%> (+0.01%) :arrow_up:

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 5749abb...3f475b0. Read the comment docs.