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: java parser failing to match vendor on product without '-' #2961

Merged
merged 1 commit into from
May 22, 2023

Conversation

bcieszko
Copy link
Contributor

if the product did not have - in name and the vendor was found it would return None even though the match was found

@terriko
Copy link
Contributor

terriko commented Apr 28, 2023

Oh, good catch. I've approved the tests to run and will be back after they're done.

@codecov-commenter
Copy link

codecov-commenter commented Apr 28, 2023

Codecov Report

Merging #2961 (3e6de25) into main (92d27dc) will decrease coverage by 0.30%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #2961      +/-   ##
==========================================
- Coverage   82.85%   82.55%   -0.30%     
==========================================
  Files         676      676              
  Lines       10665    10665              
  Branches     1430     1430              
==========================================
- Hits         8836     8805      -31     
- Misses       1459     1488      +29     
- Partials      370      372       +2     
Flag Coverage Δ
longtests 76.43% <100.00%> (-0.04%) ⬇️
win-longtests 80.26% <100.00%> (-0.23%) ⬇️

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

Impacted Files Coverage Δ
cve_bin_tool/parsers/java.py 73.41% <100.00%> (ø)

... and 8 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@bcieszko
Copy link
Contributor Author

bcieszko commented May 1, 2023

update commit - cleaned up black check

if the product did not have - in name and the vendor was found
it would return None even though the match was found

* fixes intel#2960

Signed-off-by: Bartlomiej Cieszkowski <[email protected]>
@bcieszko
Copy link
Contributor Author

updated branch
@terriko can you run tests?

Copy link
Contributor

@terriko terriko left a comment

Choose a reason for hiding this comment

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

All ready to merge -- thank you again!

@terriko terriko merged commit b0e5f67 into intel:main May 22, 2023
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.

fix: java parser failing to match vendor on product without '-'
3 participants