Common Tests - File Formatting: References missing cmdlets #92
Labels
enhancement
The issue is an enhancement request.
help wanted
The issue is up for grabs for anyone in the community.
Details of the problem, bug, or enhancement
The tests Common Tests - File Formatting (
FileFormatting.common*
) are referencing missing cmdlets.Get-UnicodeFilesList
ConvertTo-UTF8
(used for schema.mof files)ConvertTo-ASCII
(used for code script files)They exist here: https://github.com/PowerShell/DscResource.Tests/blob/dev/MetaFixers.psm1
Verbose logs showing the problem (if applicable)
n/a
Suggested solution to the issue
Add the above cmdlets, and add a new cmdlet
Set-SourceEncoding
that scans for unicode files and correctly set the right encoding depending on file type.Running just a cmdlet for the entire source folder would simplify by just running:
The text was updated successfully, but these errors were encountered: