mirror of
https://github.com/actions/runner.git
synced 2025-12-12 15:13:30 +00:00
lint
This commit is contained in:
@@ -69,7 +69,8 @@ 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");
|
||||||
|
|||||||
Reference in New Issue
Block a user