JetBrains / JetBrains/ReSharper-InspectCode

Include filter throws errors

Open
#8 3 comments 0 reactions 1 assignee Claimed by @derigel23 View on GitHub
Dominant language
No language data
Stars
28
Forks
5
Avg merge
10m
Merged PRs (30d)
1

Description

Hi!

I am trying to get the include option to work for our Github projects, but it's not behaving according to specifications from what I can tell, and is not consistent with how it works locally when I run on my Windows 10 machine using the 2024.1.3 version (same as I use for the Github action).

I'm trying to join several files for the include argument using the ';' delimiter, but I get a complaint from the plugin when it parses it, see image below.
![image](https://github.com/user-attachments/assets/a39e3c14-4612-4173-977c-270d9e8846e3)

I've also tested with forward slashes, and this gives a different error
![image](https://github.com/user-attachments/assets/c621a3e2-ff9e-4dae-8c93-1ef5798074ef)

If I just run the same thing in Windows 10 on my machine in Powershell `jb inspectcode -o="testie.txt" -f=Text --no-build --include="**\Test2.cs;**\test1.cs" ".\WpfApp1\WpfApp1.sln"` I get no issues whatsoever
![image](https://github.com/user-attachments/assets/518aed80-b346-4ba8-aa5d-580f85f47c62)

Attached is the output of a full run of the step with backward slashes in Github.

[jb_inspectcode_action_failure.txt](https://github.com/user-attachments/files/16541981/jb_inspectcode_action_failure.txt)

If I am doing it the wrong way somehow, how is this supposed to be done?

Best regards,
Oscar

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.