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'