Skip to content

Commit

Permalink
Fixed Typo / Compile-Error on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
jwindgassen committed Mar 16, 2022
1 parent 65e0fdd commit f2a474c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Plugins/Linter/Source/Linter/Private/LinterCommandlet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,11 @@ int32 ULinterCommandlet::Main(const FString& InParams)
}
}

if (NumErrors > 0 || Switches.Contains(TEXT("TreatWarningsAsErrors")) && NumWarnings > 0)
if (NumErrors > 0 || (Switches.Contains(TEXT("TreatWarningsAsErrors")) && NumWarnings > 0))
{
UE_LOG(LinterCommandlet, Display, TEXT("Lint completed with errors. Returning error code 2."));
return 2;
}

return 0;
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2019-2020 Gamemakin LLC. All Rights Reserved.

#include "UI/LintReportruleErrorList.h"
#include "UI/LintReportRuleErrorList.h"
#include "LinterStyle.h"
#include "Widgets/Layout/SBorder.h"
#include "EditorStyleSet.h"
Expand Down

0 comments on commit f2a474c

Please sign in to comment.