Skip to content

Assign value returned from MaybeAddMemberInvocationLogging#24652

Merged
SeeminglyScience merged 1 commit into
PowerShell:masterfrom
SeeminglyScience:fix-method-logging
Dec 11, 2024
Merged

Assign value returned from MaybeAddMemberInvocationLogging#24652
SeeminglyScience merged 1 commit into
PowerShell:masterfrom
SeeminglyScience:fix-method-logging

Conversation

@SeeminglyScience

Copy link
Copy Markdown
Contributor

PR Summary

Continuation of #24451, this fixes an issue spotted after that PR was merged. Thank you @mklement0!

PR Context

PR Checklist

@jborean93 jborean93 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Sorry I missed this with that last change to the PR. If you were interested you could potentially hook up a custom test hook that is called at the same place the AMSI PInvoke method is called to verify that it's actually setup on Windows. If you really wanted to you could probably even implement your own AMSI COM endpoint as a test but that's probably overkill for this.

@iSazonov

Copy link
Copy Markdown
Collaborator

What is issue with PSResource ACR check in all PRs?

@SeeminglyScience
SeeminglyScience merged commit 36740ab into PowerShell:master Dec 11, 2024
@microsoft-github-policy-service

microsoft-github-policy-service Bot commented Dec 11, 2024

Copy link
Copy Markdown
Contributor

📣 Hey @SeeminglyScience, how did we do? We would love to hear your feedback with the link below! 🗣️

🔗 https://aka.ms/PSRepoFeedback

@SeeminglyScience
SeeminglyScience deleted the fix-method-logging branch December 11, 2024 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants