Skip to content
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

Code quality updates for 2024.9 #159

Merged
merged 1 commit into from
Sep 1, 2024

Conversation

SamErde
Copy link
Collaborator

@SamErde SamErde commented Aug 30, 2024

Invoke-Locksmith

Parameters

Added parameter validation, comments, and consistent parameter formatting.

Reused Code

Replaced four instances of (Get-Forest) with one $Forest = Get-Forest and $Forest.

Misc

Removed extraneous semicolon.

Added parameter validation, comments, and consistent formatting in parameters.

Replaced four instances of `(Get-Forest)` with one `$Forest = Get-Forest` and `$Forest`.

Removed extraneous semicolon.
@SamErde SamErde marked this pull request as draft August 30, 2024 13:34
@SamErde SamErde self-assigned this Aug 30, 2024
@SamErde SamErde added the enhancement New feature or request label Aug 30, 2024
@SamErde SamErde marked this pull request as ready for review August 30, 2024 13:34
Copy link
Owner

@TrimarcJake TrimarcJake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Public/Invoke-Locksmith.ps1 Show resolved Hide resolved
@TrimarcJake TrimarcJake merged commit d5fcef5 into TrimarcJake:testing Sep 1, 2024
3 checks passed
@SamErde SamErde deleted the 2024-09-code-quality branch September 1, 2024 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants