-
Notifications
You must be signed in to change notification settings - Fork 117
Open
Description
Invoke-Plaster does not implement the parameters -WhatIf and -Confirm correctly. If I run the cmdlet with WhatIf I end up with an error (the WhatIf preference is transferred correctly to New-Item so the target directory is not created - but the function still tries to continue by entering the directory that is not created.
Similarly if I call Invoke-Plaster with -Confirm and answer no to some of the prompts, I end up with an error since the function is not handling the option that the user has declined one or more actions.
I've tested the behaviour in PowerShell Core (7.4.1) with version 1.1.4 of Plaster.
Metadata
Metadata
Assignees
Labels
No labels