xADUser: Replace Write-Error with the correct helper function #331
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 that throw. It should instead use the helper functions here to throw errors https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#helper-functions-for-localization
The 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: