-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
task: fix problem matcher failed when kind is file #11190
task: fix problem matcher failed when kind is file #11190
Conversation
Signed-off-by: bob <[email protected]>
@msujew @vince-fugnitto could you please help review this pr or ask someone else |
Signed-off-by: bob <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution! The code is correct, and the tests pass. A couple of minor comments on the code itself, but with those minor changes, this will be good to go.
update Co-authored-by: colin-grant-work <[email protected]>
update test case Co-authored-by: colin-grant-work <[email protected]>
Thx! |
Signed-off-by: bob <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. File type locations are now handled correctly. 👍
Thx. @vince-fugnitto @colin-grant-work could you please help merge this pr |
Signed-off-by: bob [email protected]
What it does
It will always fails when task problem matcher
kind
isfile
as this:the test log should be
this is the
startStopMatcher2
case frompackages/task/src/node/task-problem-collector.spec.ts
, I just changes thekind
fromlocation
tofile
.the main cause is that the
this.cachedProblemData.kind
will always beundefined
when cachedProblemData is created. just changes thenot be undefined
tobe undefined
How to test
Review checklist
Reminder for reviewers