From 80f0aca79d975f5f216059bab868e8587900286e Mon Sep 17 00:00:00 2001 From: Josef Pihrt Date: Wed, 8 Nov 2023 22:23:10 +0100 Subject: [PATCH 1/2] Fix order of parameters --- src/Workspaces.Core/Extensions/Extensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) From 73ffe403f8a00f66b4cbc6430a9bddcd8ddd7b1e Mon Sep 17 00:00:00 2001 From: Josef Pihrt Date: Wed, 8 Nov 2023 22:24:15 +0100 Subject: [PATCH 2/2] update --- ChangeLog.md | 1 + 1 file changed, 1 insertion(+) 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