dotnet / roslynator

Roslynator is a set of code analysis tools for C#, powered by Roslyn.

Home Page:https://josefpihrt.github.io/docs/roslynator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CLI Exlude, Include paramteters are not working

dimOk00 opened this issue · comments

Product and Version Used: Roslynator Command Line Tool version 0.8.7.0 (Roslyn version 4.9.0.0), Widnows 11

Steps to Reproduce:
I want to analyze a specific file in my solution, I am using CLI for it.
I use next command roslynator analyze --exclude "**\*" --include "**\UserStatuses.cs"

Actual Behavior: It analyzes a whole solution

Expected Behavior: It analyzes only one file

Could you tell please, what is wrong with this command and how can I run analyze for multiple files?

Even with the bug fixed, the command won't work. Correct command is roslynator analyze --include "**\UserStatuses.cs".