test: 检查脚本改为纯 ASCII
Some checks failed
Tests / test (push) Has been cancelled

Windows PowerShell 5.1 在文件没有 BOM 时按 ANSI 读取。注释里的 em-dash
不影响执行,但这个仓库对 .bat 已经有纯 ASCII 约束,.ps1 没理由例外。
This commit is contained in:
2026-08-17 23:20:47 +08:00
parent 4a42071172
commit a273d80cf3

View File

@@ -1,7 +1,7 @@
# Parses every .ps1 in the repository and reports syntax errors. # Parses every .ps1 in the repository and reports syntax errors.
# #
# Why this exists: most of this project's PowerShell was written on a Mac, where # Why this exists: most of this project's PowerShell was written on a Mac, where
# no parser is available. "It looks right" is not a check a single stray # no parser is available. "It looks right" is not a check -- a single stray
# character stops the Windows installer from running at all, and there is no way # character stops the Windows installer from running at all, and there is no way
# to find that out except on Windows. # to find that out except on Windows.
# #