tj-actions / eslint-changed-files

:octocat: Github action to run ESLint on changed pull request files with support for reporting errors via Github checks.
MIT License
87 stars 21 forks source link

[BUG] breaks if file path contains parenthesis #1641

Closed flo-dao closed 8 months ago

flo-dao commented 8 months ago

Is there an existing issue for this?

Does this issue exist in the latest version?

Describe the bug?

The action breaks if there are parenthesis in the file path

To Reproduce

  1. Create a file with parenthesis in the path
  2. Run the action
  3. It breaks

What OS are you seeing the problem on?

all

Expected behavior?

It should not break

Relevant log output

files matching the pattern "apps/superadmin/app/\(protected\)/workspaces/[env]/[workspaceId]/features/WorkspaceFeatures.tsx" were found.
  Please check for typing mistakes in the pattern.

  reviewdog: parse error: failed to unmarshal rdjson (DiagnosticResult): proto: syntax error (line 1:1): unexpected token

Has all relevant logs been included?

Anything else?

No response

Code of Conduct

jackton1 commented 8 months ago

Hi @flo-dao, Since https://github.com/reviewdog/reviewdog/issues/1674 has been created, this one will be closed to avoid duplication. Thanks