Skip to content

Commit f2a474c

Browse files
committed
Fixed Typo / Compile-Error on Linux
1 parent 65e0fdd commit f2a474c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Plugins/Linter/Source/Linter/Private/LinterCommandlet.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,11 +257,11 @@ int32 ULinterCommandlet::Main(const FString& InParams)
257257
}
258258
}
259259

260-
if (NumErrors > 0 || Switches.Contains(TEXT("TreatWarningsAsErrors")) && NumWarnings > 0)
260+
if (NumErrors > 0 || (Switches.Contains(TEXT("TreatWarningsAsErrors")) && NumWarnings > 0))
261261
{
262262
UE_LOG(LinterCommandlet, Display, TEXT("Lint completed with errors. Returning error code 2."));
263263
return 2;
264264
}
265265

266266
return 0;
267-
}
267+
}

Plugins/Linter/Source/Linter/Private/UI/LintReportRuleErrorList.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright 2019-2020 Gamemakin LLC. All Rights Reserved.
22

3-
#include "UI/LintReportruleErrorList.h"
3+
#include "UI/LintReportRuleErrorList.h"
44
#include "LinterStyle.h"
55
#include "Widgets/Layout/SBorder.h"
66
#include "EditorStyleSet.h"

0 commit comments

Comments
 (0)