Skip to content

Make suggestions to drazisil-codecov/issue829#835

Merged
mitchell-codecov merged 11 commits intodrazisil-codecov/issue829from
mitchell-codecov/829-from-drazisil-codecov
Jul 29, 2022
Merged

Make suggestions to drazisil-codecov/issue829#835
mitchell-codecov merged 11 commits intodrazisil-codecov/issue829from
mitchell-codecov/829-from-drazisil-codecov

Conversation

@mitchell-codecov
Copy link
Copy Markdown
Contributor

No description provided.

@mitchell-codecov mitchell-codecov requested a review from a team as a code owner July 28, 2022 14:11
@lgtm-com
Copy link
Copy Markdown

lgtm-com bot commented Jul 28, 2022

This pull request introduces 1 alert when merging 330b035 into ef63cd4 - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

@codecov
Copy link
Copy Markdown

codecov bot commented Jul 28, 2022

Codecov Report

Merging #835 (ca55bc2) into drazisil-codecov/issue829 (017ee64) will decrease coverage by 0.14%.
The diff coverage is 84.61%.

@@                      Coverage Diff                      @@
##           drazisil-codecov/issue829     #835      +/-   ##
=============================================================
- Coverage                      92.15%   92.00%   -0.15%     
=============================================================
  Files                             34       34              
  Lines                           1172     1176       +4     
  Branches                         239      241       +2     
=============================================================
+ Hits                            1080     1082       +2     
- Misses                            62       63       +1     
- Partials                          30       31       +1     
Flag Coverage Δ
alpine 92.00% <84.61%> (-0.15%) ⬇️
alpine-proxy 92.00% <84.61%> (-0.15%) ⬇️
alpine-without-git 92.00% <84.61%> (-0.15%) ⬇️
linux 92.00% <84.61%> (-0.15%) ⬇️
linux-without-git 92.00% <84.61%> (-0.15%) ⬇️
macos 92.00% <84.61%> (-0.15%) ⬇️
macos-without-git 92.00% <84.61%> (-0.15%) ⬇️
windows 92.00% <84.61%> (-0.15%) ⬇️
windows-without-git 92.00% <84.61%> (-0.15%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/index.ts 75.16% <60.00%> (-0.52%) ⬇️
src/helpers/validate.ts 100.00% <100.00%> (ø)
src/helpers/web.ts 80.00% <100.00%> (-0.96%) ⬇️

@mitchell-codecov mitchell-codecov merged commit 59d606e into drazisil-codecov/issue829 Jul 29, 2022
@mitchell-codecov mitchell-codecov deleted the mitchell-codecov/829-from-drazisil-codecov branch July 29, 2022 13:36
mitchell-codecov added a commit that referenced this pull request Aug 1, 2022
* fix: throw error when flags do not match pattern
Fixes #829

* Make suggestions to drazisil-codecov/issue829 (#835)

* feat: validate `flags` earlier

* chore: create `isValidFlag`

* refactor: `validateFlags`

* refactor: use `validateFlags`

* refactor: `isValidFlag`

* fix: expose `isValidFlag`

* chore: remove unused import

* fix: filter on falsy values

* fix: allow empty strings

* fix: join flags

* fix: validate.test.ts

Co-authored-by: Mitchell Borrego <[email protected]>
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