PowerShell / SecretStore

MIT License
156 stars 23 forks source link

Set-SecretStoreConfiguration without parameters prompts for confirmation #15

Closed ThomasNieto closed 3 years ago

ThomasNieto commented 4 years ago

Running Set-SecretStoreConfiguration without any changes prompts for confirmation. Are any changes being made in this example? If no changes are made I don't think there is a reason to prompt or even get this far, maybe throwing an error if no parameters were passed.

PS C:\> Set-SecretStoreConfiguration

Confirm
Are you sure you want to perform this action?
Performing the operation "Changes local store configuration" on target "SecretStore module local store".
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"):
PaulHigin commented 4 years ago

Thanks yes, this is a bug. Will fix.

PaulHigin commented 3 years ago

Fixed preview2.