Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
bdovaz committed Sep 29, 2023
1 parent 4ec0d47 commit 7c6c58f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/UnityNuGet/NuGetHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7c6c58f

Please sign in to comment.