mirror of
https://github.com/actions/runner.git
synced 2025-12-11 12:57:05 +00:00
Fix feature flag location (#2703)
This commit is contained in:
@@ -1468,7 +1468,7 @@ namespace GitHub.Runner.Worker
|
||||
|
||||
private bool logTemplateErrorsAsDebugMessages()
|
||||
{
|
||||
if (_executionContext.Global.EnvironmentVariables.TryGetValue(Constants.Runner.Features.LogTemplateErrorsAsDebugMessages, out var logErrorsAsDebug))
|
||||
if (_executionContext.Global.Variables.TryGetValue(Constants.Runner.Features.LogTemplateErrorsAsDebugMessages, out var logErrorsAsDebug))
|
||||
{
|
||||
return StringUtil.ConvertToBoolean(logErrorsAsDebug, defaultValue: false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user