mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Be forgiving with casing of build mode environment variable
This commit is contained in:
@@ -27,7 +27,7 @@ namespace Semmle.Autobuild.CSharp
|
||||
{
|
||||
Buildless = actions.GetEnvironmentVariable(lgtmPrefix + "BUILDLESS").AsBool("buildless", false) ||
|
||||
actions.GetEnvironmentVariable(extractorOptionPrefix + "BUILDLESS").AsBool("buildless", false) ||
|
||||
actions.GetEnvironmentVariable(buildModeEnvironmentVariable) == "none";
|
||||
actions.GetEnvironmentVariable(buildModeEnvironmentVariable)?.ToLower() == "none";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user