-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xActiveDirectory: Remove old helper functions #418
Conversation
@PlagueHO mind reviewing this one? Should not take to long. |
Codecov Report
@@ Coverage Diff @@
## dev #418 +/- ##
====================================
+ Coverage 92% 92% +<1%
====================================
Files 20 20
Lines 2553 2536 -17
Branches 10 10
====================================
- Hits 2360 2347 -13
+ Misses 183 179 -4
Partials 10 10 |
- Removed the helper function `ThrowInvalidOperationError` in favor of new helper functions for localization (issue dsccommunity#316). - Cleaned up some minor style violations in the code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 11 of 11 files at r1.
Reviewable status: all files reviewed, 2 unresolved discussions
CHANGELOG.md, line 29 at r1 (raw file):
- Changes to xADOrganizationalUnit - Catch exception when the path property specifies a non-existing path ([issue #408](https://github.com/PowerShell/xActiveDirectory/issues/408))
Missing full stop (.).
CHANGELOG.md, line 86 at r1 (raw file):
xWaitForADDomain.
Full stop is in wrong place
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 10 of 11 files reviewed, all discussions resolved (waiting on @johlju)
CHANGELOG.md, line 29 at r1 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
Missing full stop (.).
Done
CHANGELOG.md, line 86 at r1 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
xWaitForADDomain.
Full stop is in wrong place
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r2.
Reviewable status: complete! all files reviewed, all discussions resolved
Pull Request (PR) description
ThrowInvalidOperationError
andThrowInvalidArgumentError
in favor of the new helper functions for localization (issue xActiveDirectory: Replace helper function ThrowInvalidOperationError #316, issue xActiveDirectory: Replace helper function ThrowInvalidArgumentError #317).Add-ADCommonGroupMember
wasnot outputting the correct group name in a verbose message and in an
error message.
Write-Error
withthrow
(issue xADDomain.Tests: Replace Write-Error with throw #332).
Write-Error
.This Pull Request (PR) fixes the following issues
Task list
Entry should say what was changed, and how that affects users (if applicable).
and comment-based help.
This change is