mirror of
https://github.com/actions/runner.git
synced 2025-12-15 06:26:46 +00:00
Use consistent forms
This commit is contained in:
@@ -1423,7 +1423,7 @@ namespace GitHub.Runner.Worker
|
||||
|
||||
private bool logTemplateErrorsAsDebugMessage()
|
||||
{
|
||||
_executionContext.Global.EnvironmentVariables.TryGetValue(Constants.Runner.Features.LogTemplateErrorsAsDebugMessage, out var logErrorsAsDebug);
|
||||
_executionContext.Global.EnvironmentVariables.TryGetValue(Constants.Runner.Features.LogTemplateErrorsAsDebugMessages, out var logErrorsAsDebug);
|
||||
return StringUtil.ConvertToBoolean(logErrorsAsDebug, defaultValue: false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user