Crescendo should probably set $PSNativeCommandUseErrorActionPreference = $false
#186
Closed
3 tasks done
Labels
Milestone
Prerequisites
Steps to reproduce
because setting
$PSNativeCommandUseErrorActionPreference = $true
will result in an additional error record being produce in the case of an error, crescendo should probably set this variable explicitly now that we handle error output as part ofpush-crescendoerror
. Perhaps it should be settable on a command by command basis (add it to the schema for a command???)Expected behavior
a single error
Actual behavior
2 errors
Error details
Environment data
Version
all
Visuals
No response
The text was updated successfully, but these errors were encountered: