Unset NODE_ICU_DATA before starting node in NodeHandler. (#1060)
* Unset NODE_ICU_DATA before starting node in NodeHandler. * Update src/Runner.Worker/Handlers/NodeScriptActionHandler.cs Co-authored-by: Ross Brodbeck <[email protected]> Co-authored-by: Ross Brodbeck <[email protected]>
This commit is contained in:
co-authored by
Ross Brodbeck
parent
088caf5337
commit
5941cceb7c
@@ -97,6 +97,9 @@ namespace GitHub.Runner.Worker.Handlers
|
||||
Encoding outputEncoding = null;
|
||||
#endif
|
||||
|
||||
// Remove environment variable that may cause conflicts with the node within the runner.
|
||||
Environment.Remove("NODE_ICU_DATA"); // https://github.com/actions/runner/issues/795
|
||||
|
||||
using (var stdoutManager = new OutputManager(ExecutionContext, ActionCommandManager))
|
||||
using (var stderrManager = new OutputManager(ExecutionContext, ActionCommandManager))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user