From 7c6c58fc4cfd23aa397ebc0e7ef422f7694d78c9 Mon Sep 17 00:00:00 2001 From: bdovaz Date: Fri, 29 Sep 2023 22:56:23 +0200 Subject: [PATCH] WIP --- src/UnityNuGet/NuGetHelper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/UnityNuGet/NuGetHelper.cs b/src/UnityNuGet/NuGetHelper.cs index 4b62b8ef..7266c3d0 100644 --- a/src/UnityNuGet/NuGetHelper.cs +++ b/src/UnityNuGet/NuGetHelper.cs @@ -56,9 +56,9 @@ bool IsResource() bool CS() => file.Contains("/cs/", StringComparison.OrdinalIgnoreCase); bool VB() => file.Contains("/vb/", StringComparison.OrdinalIgnoreCase); - + // Czech locale is cs, catch /vb/cs/ - return IsResource() && CS() && !VB(); + return IsResource() && ((!CS() && !VB()) || (CS() && !VB())); } public static bool IsApplicableUnitySupportedRoslynVersionFolder(string file)