Skip to content

Commit

Permalink
Fix order of parameters (#1238)
Browse files Browse the repository at this point in the history
  • Loading branch information
josefpihrt authored Nov 8, 2023
1 parent d52ec57 commit e886083
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/Workspaces.Core/Extensions/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e886083

Please sign in to comment.