From 990ed187d6b4580427910e5310f89908e0ce7e0e Mon Sep 17 00:00:00 2001 From: "Dustin L. Howett" Date: Tue, 15 Oct 2024 11:58:51 -0500 Subject: [PATCH] ci: fix the code formatting job (#18059) We started requiring PowerShell 7+ in #18021 We did not update the code formatting task. --- build/pipelines/templates-v2/job-check-code-format.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/pipelines/templates-v2/job-check-code-format.yml b/build/pipelines/templates-v2/job-check-code-format.yml index e889fc8756d..c26b7f8acae 100644 --- a/build/pipelines/templates-v2/job-check-code-format.yml +++ b/build/pipelines/templates-v2/job-check-code-format.yml @@ -10,6 +10,6 @@ jobs: submodules: false clean: true - - powershell: |- + - pwsh: |- .\build\scripts\Invoke-FormattingCheck.ps1 displayName: 'Run formatters'