From 836b5a07244cbae128b8eb8ca33325e479ecd7f5 Mon Sep 17 00:00:00 2001 From: Amber Erickson Date: Thu, 14 Jul 2022 16:17:29 -0700 Subject: [PATCH 1/3] Remove ShouldProcess in FindPSResource --- src/code/FindPSResource.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/code/FindPSResource.cs b/src/code/FindPSResource.cs index b99b520c5..6d01c9753 100644 --- a/src/code/FindPSResource.cs +++ b/src/code/FindPSResource.cs @@ -20,8 +20,7 @@ namespace Microsoft.PowerShell.PowerShellGet.Cmdlets /// [Cmdlet(VerbsCommon.Find, "PSResource", - DefaultParameterSetName = ResourceNameParameterSet, - SupportsShouldProcess = true)] + DefaultParameterSetName = ResourceNameParameterSet)] [OutputType(typeof(PSResourceInfo), typeof(PSCommandResourceInfo))] public sealed class FindPSResource : PSCmdlet { From ea32c046a012cbb100e8d14a961db2b1910296c6 Mon Sep 17 00:00:00 2001 From: Amber Erickson Date: Tue, 19 Jul 2022 12:15:33 -0700 Subject: [PATCH 2/3] Downgrade NuGet client packages --- src/code/PowerShellGet.csproj | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/code/PowerShellGet.csproj b/src/code/PowerShellGet.csproj index e9d2e9a88..68ada6965 100644 --- a/src/code/PowerShellGet.csproj +++ b/src/code/PowerShellGet.csproj @@ -15,12 +15,12 @@ - - - - - - + + + + + + From eb4dcbc3ff898fa68810bcc12be107f825743615 Mon Sep 17 00:00:00 2001 From: Amber Erickson Date: Tue, 19 Jul 2022 12:37:05 -0700 Subject: [PATCH 3/3] Remove unneeded changes --- src/code/FindPSResource.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/code/FindPSResource.cs b/src/code/FindPSResource.cs index 6d01c9753..b99b520c5 100644 --- a/src/code/FindPSResource.cs +++ b/src/code/FindPSResource.cs @@ -20,7 +20,8 @@ namespace Microsoft.PowerShell.PowerShellGet.Cmdlets /// [Cmdlet(VerbsCommon.Find, "PSResource", - DefaultParameterSetName = ResourceNameParameterSet)] + DefaultParameterSetName = ResourceNameParameterSet, + SupportsShouldProcess = true)] [OutputType(typeof(PSResourceInfo), typeof(PSCommandResourceInfo))] public sealed class FindPSResource : PSCmdlet {