diff --git a/ChangeLog.md b/ChangeLog.md index 27943f6dea..ee9cabbf62 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fix [RCS1234](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1234) ([PR](https://github.com/dotnet/roslynator/pull/1233)) - Fix refactoring [Inline method](https://josefpihrt.github.io/docs/roslynator/refactorings/RR0062) ([PR](https://github.com/dotnet/roslynator/pull/1234)) +- [CLI] Fix globbing ([PR](https://github.com/dotnet/roslynator/pull/1238)) ## [4.6.1] - 2023-10-23 diff --git a/src/Workspaces.Core/Extensions/Extensions.cs b/src/Workspaces.Core/Extensions/Extensions.cs index 6cb8d4dbd7..eb6a04d32b 100644 --- a/src/Workspaces.Core/Extensions/Extensions.cs +++ b/src/Workspaces.Core/Extensions/Extensions.cs @@ -27,7 +27,7 @@ public static bool IsMatch(this Matcher matcher, ISymbol symbol, string? rootDir if (tree is not null) { PatternMatchingResult result = (rootDirectoryPath is not null) - ? matcher.Match(tree.FilePath, rootDirectoryPath) + ? matcher.Match(rootDirectoryPath, tree.FilePath) : matcher.Match(tree.FilePath); if (!result.HasMatches)