You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: