🩹[Patch]: Improve error handling and output error summary#23
Merged
MariusStorhaug merged 3 commits intomainfrom Oct 7, 2025
Merged
🩹[Patch]: Improve error handling and output error summary#23MariusStorhaug merged 3 commits intomainfrom
MariusStorhaug merged 3 commits intomainfrom
Conversation
…ild-PSModuleDocumentation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR removes all source files from a test repository directory and fixes an error handling issue in the documentation build script. The changes appear to be part of cleaning up test artifacts while improving error reporting.
- Deletion of all PowerShell source files, XML configuration files, and documentation from the test repository
- Removal of automatically generated module content that contained redundant documentation
- Improvement of error handling in the documentation build script by changing error output to warning
Reviewed Changes
Copilot reviewed 27 out of 28 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| tests/srcTestRepo/src/* | Complete removal of all source files including functions, classes, variables, types, and configuration |
| tests/srcTestRepo/outputs/* | Removal of generated module files and redundant documentation blocks |
| scripts/helpers/Build-PSModuleDocumentation.ps1 | Changed error handling from Write-Error to Write-Warning for better build process flow |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
…-PSModuleTest functions
dd4715d to
da51927
Compare
Contributor
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request makes a minor improvement to error handling in the PowerShell documentation build script. Instead of writing errors as errors, it now logs them as warnings with more context when markdown help generation fails for a command.
Write-ErrortoWrite-Warningwith a descriptive message inBuild-PSModuleDocumentation.ps1.