mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
refactor for better understanding
This commit is contained in:
parent
7d57508295
commit
bcadcd636e
@ -147,10 +147,10 @@ public class CompilerSettingsInferencer
|
|||||||
return null;
|
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();
|
var fileNameString = file.FileName.ToString();
|
||||||
if (!txtMode)
|
if (!readTxtFileMode)
|
||||||
{
|
{
|
||||||
return fileNameString == baseVariant;
|
return fileNameString == baseVariant;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user