Skip to content

Revert "Allow empty prefix string in 'Import-Module -Prefix' to override default prefix in manifest (#20409)" #25462

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

Merged
merged 1 commit into from
Apr 28, 2025

Conversation

MartinGC94
Copy link
Contributor

PR Summary

This reverts the changes made in this PR: #20409
That PR introduced a regression that caused a prefix set by DefaultCommandPrefix from a module manifest to always be ignored.

PR Context

Fixes #25419

PR Checklist

@iSazonov iSazonov added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Apr 27, 2025
@iSazonov

This comment was marked as outdated.

This comment was marked as outdated.

@iSazonov iSazonov merged commit 2fc4821 into PowerShell:master Apr 28, 2025
36 of 37 checks passed
Copy link
Contributor

microsoft-github-policy-service bot commented Apr 28, 2025

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

🔗 https://aka.ms/PSRepoFeedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DefaultCommandPrefix from Module PSD ignored after recent patch
2 participants