🩹 [Patch]: Light support for PS 5.1 #30
Merged
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 includes several changes to the PowerShell scripts and manifest file. The key changes involve updating module requirements, modifying parameter validation, and adding a manifest entry.
Updates to module requirements and parameter validation:
src/functions/public/Install-NerdFont.ps1
: Updated the required version of theFonts
module from '1.1.13' to '1.1.18'.src/functions/public/Install-NerdFont.ps1
: Replaced theScope
enum with aValidateSet
parameter forScope
to specify valid values directly.Removal of unused enum and addition of manifest entry:
src/classes/private/Scope.ps1
: Removed theScope
enum as it is no longer needed.src/manifest.psd1
: Added a new entry to specify the required PowerShell version as '5.1'.Type of change
Checklist