-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Description
Before pushing code:
- Ensure all files in the repo is UTF8BOM. Script to convert all .ps1 files in the current directory and subdirectories to UTF-8 with BOM encoding.
Get-ChildItem -Path $PSScriptRool/.. -Recurse -Filter "*.ps1" | ForEach-Object { $content = Get-Content -Path $_.FullName -Raw $content | Out-File -FilePath $_.FullName -Encoding UTF8BOM -NoNewline -Force Write-Host "Converted: $($_.FullName)" }
- ...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels