mirror of
https://github.com/actions/runner.git
synced 2025-12-11 21:06:55 +00:00
lint
This commit is contained in:
@@ -69,11 +69,12 @@ namespace GitHub.Runner.Worker.Expressions
|
|||||||
//Feature flag to fetch a new version of hashFiles script
|
//Feature flag to fetch a new version of hashFiles script
|
||||||
string hashFilesScript = string.Empty;
|
string hashFilesScript = string.Empty;
|
||||||
var isGlobHashFilesEnabled = executionContext.Global.Variables.GetBoolean("DistributedTask.UseGlobHashFiles") ?? false;
|
var isGlobHashFilesEnabled = executionContext.Global.Variables.GetBoolean("DistributedTask.UseGlobHashFiles") ?? false;
|
||||||
if(isGlobHashFilesEnabled){
|
if (isGlobHashFilesEnabled)
|
||||||
|
{
|
||||||
hashFilesScript = Path.Combine(binDir, "hashFilesV2");
|
hashFilesScript = Path.Combine(binDir, "hashFilesV2");
|
||||||
}
|
}
|
||||||
hashFilesScript = Path.Combine(binDir, "hashFiles");
|
hashFilesScript = Path.Combine(binDir, "hashFiles");
|
||||||
|
|
||||||
var hashResult = string.Empty;
|
var hashResult = string.Empty;
|
||||||
var p = new ProcessInvoker(new HashFilesTrace(context.Trace));
|
var p = new ProcessInvoker(new HashFilesTrace(context.Trace));
|
||||||
p.ErrorDataReceived += ((_, data) =>
|
p.ErrorDataReceived += ((_, data) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user