refactor for better understanding

This commit is contained in:
EzioTheDeadPoet 2022-11-06 00:11:28 +01:00
parent 7d57508295
commit bcadcd636e

View File

@ -147,10 +147,10 @@ public class CompilerSettingsInferencer
return null;
}
private static bool MatchesVariants(AbsolutePath file, string baseVariant, bool txtMode = false)
private static bool MatchesVariants(AbsolutePath file, string baseVariant, bool readTxtFileMode = false)
{
var fileNameString = file.FileName.ToString();
if (!txtMode)
if (!readTxtFileMode)
{
return fileNameString == baseVariant;
}