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
Would that fix my issue with Invoke-PSMDTemplate CommandTest that doesn't give me the same encoding like Set-PSMDEncoding?
I run Set-PSMDEncoding against all my ps1 files, this includes my pester test files. When I afterwards want to update the pester file, the encoding is changed.
it will fix files emitted by Invoke-PSMDTemplate from being the wrong encoding.
Given your description however, I'm assuming you have a case of VS Code changing your formatting on save. This would be something you can fix in your editor, by changing the default encoding.
Either way, updating the editor settings and this update combined will lead you to never having to worry about encoding issues for your projects.
The text was updated successfully, but these errors were encountered: