seachicken / gh-poi

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

Add error handling for SAML enforcement error #11

Closed seachicken closed 2 years ago

seachicken commented 2 years ago

Added error handling because pull requests related to branches are not displayed when SAML is enabled.

Related PR: https://github.com/cli/cli/pull/4241

codecov[bot] commented 2 years ago

Codecov Report

Merging #11 (be600b3) into main (f6a4ded) will decrease coverage by 2.02%. The diff coverage is 75.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #11      +/-   ##
==========================================
- Coverage   82.02%   80.00%   -2.03%     
==========================================
  Files           3        3              
  Lines         395      415      +20     
==========================================
+ Hits          324      332       +8     
- Misses         61       69       +8     
- Partials       10       14       +4     
Impacted Files Coverage Δ
poi.go 85.92% <75.00%> (-3.58%) :arrow_down:

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 f6a4ded...be600b3. Read the comment docs.