Skip to content

Conversation

@iSazonov
Copy link
Collaborator

@iSazonov iSazonov commented Nov 23, 2018

PR Summary

Related #3565 and #4357.

CustomPSSnapIn is not supported in PowerShell Core and we can remove the old 'customPSSnapInType' parameter from internal API.

PR Checklist

@iSazonov iSazonov self-assigned this Nov 23, 2018
@iSazonov iSazonov changed the title [Feature] Remove old 'customPSSnapInType' parameter from PSSnapInInfo() Remove old 'customPSSnapInType' parameter from PSSnapInInfo() Nov 23, 2018
Copy link
Member

@daxian-dbw daxian-dbw left a comment

Choose a reason for hiding this comment

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

Looks good. Please remove the unneeded resource string.

{
throw PSTraceSource.NewArgumentException(
"customPSSnapInType",
MshSnapInCmdletResources.CustomPSSnapInNotSupportedInPowerShellCore);
Copy link
Member

Choose a reason for hiding this comment

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

Can we remove this resource string from the .resx file?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed.

@iSazonov iSazonov merged commit e2b5aac into PowerShell:master Nov 26, 2018
@iSazonov iSazonov deleted the cleanup-pssnapininfo branch November 26, 2018 06:21
@iSazonov iSazonov added the CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log label Nov 26, 2018
iSazonov added a commit to iSazonov/PowerShell that referenced this pull request Nov 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants