You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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: