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(core): match logFilters.pattern against any part of the log entry #3460

Merged
merged 1 commit into from
Sep 21, 2021

Conversation

merceyz
Copy link
Member

@merceyz merceyz commented Sep 18, 2021

What's the problem this PR addresses?

logFilters.pattern treats the log entries as if they were filepaths which makes matching entries containing slashes really verbose.

Fixes #3032 (comment) (cc @olee)

How did you fix it?

Enable contains to match any part of the log entry

Checklist

  • I have read the Contributing Guide.
  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@arcanis
Copy link
Member

arcanis commented Sep 20, 2021

I'm fine with this improvement, but I've also opened micromatch/micromatch#219 to hopefully solve the underlying issue with * / **.

@arcanis arcanis merged commit 11a6847 into master Sep 21, 2021
@arcanis arcanis deleted the merceyz/fix/log-filters-path branch September 21, 2021 14:37
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.

None yet

2 participants