From 00ffe12bf40a85419d83fb0d8e0fb4e68d36c7c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anselm=20Sch=C3=BCler?= Date: Fri, 11 Jun 2021 23:02:04 +0200 Subject: [PATCH] Remove SupportsShouldProcess from Start-PSBootstrap in build.psm1 (#15491) --- build.psm1 | 4 +--- tools/ci.psm1 | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/build.psm1 b/build.psm1 index 73750e4427..f5808cbba3 100644 --- a/build.psm1 +++ b/build.psm1 @@ -1804,9 +1804,7 @@ function Get-RedHatPackageManager { } function Start-PSBootstrap { - [CmdletBinding( - SupportsShouldProcess=$true, - ConfirmImpact="High")] + [CmdletBinding()] param( [string]$Channel = $dotnetCLIChannel, # we currently pin dotnet-cli version, and will diff --git a/tools/ci.psm1 b/tools/ci.psm1 index 21139ade5c..afdf5b81ba 100644 --- a/tools/ci.psm1 +++ b/tools/ci.psm1 @@ -171,7 +171,7 @@ function Invoke-CIInstall } Set-BuildVariable -Name TestPassed -Value False - Start-PSBootstrap -Confirm:$false + Start-PSBootstrap } function Invoke-CIxUnit