Skip to content

Commit

Permalink
fix: don't scan _any_ of the VFS roots
Browse files Browse the repository at this point in the history
in the ignore rule
  • Loading branch information
revam committed Oct 4, 2024
1 parent 2c2ec46 commit 221c54c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shokofin/Resolvers/ShokoIgnoreRule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public async Task<bool> ShouldFilterItem(Folder? parent, FileSystemMetadata file
return false;

// Assume anything within the VFS is already okay.
if (fileInfo.FullName.StartsWith(Plugin.Instance.VirtualRoot))
if (Plugin.Instance.AllVirtualRoots.Any(fileInfo.FullName.StartsWith))
return false;

Guid? trackerId = null;
Expand Down

0 comments on commit 221c54c

Please sign in to comment.