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

Fix issues with module name and external help file metadata #542

Merged
merged 6 commits into from
Jun 29, 2021

Conversation

adityapatwardhan
Copy link
Member

@adityapatwardhan adityapatwardhan commented Jun 10, 2021

Fixes #529
Fixes #515
Fixes #447
fixes #528

The # character has to be escaped when converted to YAML as anything after a # is considered a comment.
Change the way the file is determined to be a module page file by checking the yaml metadata header instead of relying on - in the file name.
Added tests.

Also fix the metadata for external help file when command is in a nested module.

@adityapatwardhan adityapatwardhan changed the title Escape the # in the output type Escape the # in the output type and allow hyphen in module name Jun 18, 2021
@adityapatwardhan adityapatwardhan changed the title Escape the # in the output type and allow hyphen in module name Fix issues with module name and external help file metadata Jun 29, 2021
@adityapatwardhan adityapatwardhan merged commit 7da4751 into PowerShell:master Jun 29, 2021
@adityapatwardhan adityapatwardhan deleted the BugFixesv1 branch June 29, 2021 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment