mirror of
https://github.com/github/codeql.git
synced 2026-04-18 13:34:02 +02: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