Skip to content

Commit

Permalink
fix: fix paths used in event dispatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
revam committed Sep 29, 2024
1 parent c9a6f75 commit 2e842b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shokofin/Events/EventDispatchService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ private async Task ProcessFileEvents(int fileId, List<(UpdateReason Reason, int
foreach (var path in symLinks.Select(path => Path.Join(vfsPath, path[(vfsPath.Length + 1)..].Split(Path.DirectorySeparatorChar).First())).Distinct())
topFolders.Add(path);
}
vfsSymbolicLinks = vfsLocations.Select(tuple => tuple.sourceLocation).ToHashSet();
vfsSymbolicLinks = vfsLocations.SelectMany(tuple => tuple.symbolicLinks).ToHashSet();
}

// Remove old links for file.
Expand Down

0 comments on commit 2e842b5

Please sign in to comment.