xADRecycleBin: Replace Write-Error with the correct helper function #327
Labels
enhancement
The issue is an enhancement request.
good first issue
The issue should be easier to fix and can be taken up by a beginner to learn to contribute on GitHub
This resource is wrongly using
Write-Error
and then after thatthrow
. It should instead use the helper functions here to throw errors https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#helper-functions-for-localizationThe unit tests should be updated accordingly, making sure it throws the correct error message (not just any error message).
The text was updated successfully, but these errors were encountered: