From ec0e6c72eb21a7962c2e182465a21e31b06dcb84 Mon Sep 17 00:00:00 2001 From: John Sudol <24583161+johnsudol@users.noreply.github.com> Date: Mon, 6 Mar 2023 22:05:27 +0000 Subject: [PATCH] lint --- src/Runner.Worker/Expressions/HashFilesFunction.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Runner.Worker/Expressions/HashFilesFunction.cs b/src/Runner.Worker/Expressions/HashFilesFunction.cs index 259a455b8..a4b49d268 100644 --- a/src/Runner.Worker/Expressions/HashFilesFunction.cs +++ b/src/Runner.Worker/Expressions/HashFilesFunction.cs @@ -69,11 +69,12 @@ namespace GitHub.Runner.Worker.Expressions //Feature flag to fetch a new version of hashFiles script string hashFilesScript = string.Empty; var isGlobHashFilesEnabled = executionContext.Global.Variables.GetBoolean("DistributedTask.UseGlobHashFiles") ?? false; - if(isGlobHashFilesEnabled){ + if (isGlobHashFilesEnabled) + { hashFilesScript = Path.Combine(binDir, "hashFilesV2"); } hashFilesScript = Path.Combine(binDir, "hashFiles"); - + var hashResult = string.Empty; var p = new ProcessInvoker(new HashFilesTrace(context.Trace)); p.ErrorDataReceived += ((_, data) =>