From 3d835fb9bbc360f604c88ae582d9ecefcda22643 Mon Sep 17 00:00:00 2001 From: Emik Date: Mon, 8 Apr 2024 18:47:39 +0200 Subject: [PATCH] Fix PathFinder.GetFile --- wawa.IO/Source/PathFinder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wawa.IO/Source/PathFinder.cs b/wawa.IO/Source/PathFinder.cs index 732feb0..9c1a701 100755 --- a/wawa.IO/Source/PathFinder.cs +++ b/wawa.IO/Source/PathFinder.cs @@ -109,7 +109,7 @@ public static Maybe GetFile( ) => new { FilePath = filePath, ModId = modId ?? Who }.Get( static key => key.SuppressIO( - k => GetDirectory(k.FilePath).Value is { } directory ? Path.Combine(directory, key.ModId) : null + k => GetDirectory(k.ModId).Value is { } directory ? Path.Combine(directory, key.FilePath) : null ) );