From b6f88cbbdde3aa84d943e12fbb8ce9b3aef28549 Mon Sep 17 00:00:00 2001 From: Ben Reedy Date: Thu, 30 Dec 2021 14:09:33 +1000 Subject: [PATCH] Use `pwsh` to run e2e-test target Powershell >= 5 is required for the `New-Guid` command in the e2e script. Signed-off-by: Ben Reedy --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index eefc0fd2..b20cb9cb 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ lint: .PHONY: e2e-test e2e-test: windows_exporter.exe - powershell -NonInteractive -ExecutionPolicy Bypass -File .\tools\end-to-end-test.ps1 + pwsh -NonInteractive -ExecutionPolicy Bypass -File .\tools\end-to-end-test.ps1 fmt: gofmt -l -w -s .