From 0b6a6fa38ce29e2e78752a19088d57421cddc907 Mon Sep 17 00:00:00 2001 From: aparnajyothi-y <147696841+aparnajyothi-y@users.noreply.github.com> Date: Mon, 8 Jul 2024 12:34:11 +0530 Subject: [PATCH] Update Go.Tests.ps1 --- tests/Go.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Go.Tests.ps1 b/tests/Go.Tests.ps1 index 25deac6..84d18d3 100644 --- a/tests/Go.Tests.ps1 +++ b/tests/Go.Tests.ps1 @@ -51,7 +51,7 @@ Describe "Go" { $useGoLogFile | Should -Exist $useGoLogContent = Get-Content $useGoLogFile -Raw $useGoLogContent | Should -Match "Found in cache" - } else { + } elseif ($env:RUNNER_TYPE -eq "self-hosted"){ # Get the installed version of Go $goVersion = Invoke-Expression "go version" # Check if Go is installed