Skip to content

fix: keep PowerShell scripts on CRLF - #2

Merged
hc-ui merged 1 commit into
mainfrom
cursor/powershell-crlf-aa74
Aug 26, 2026
Merged

hc-ui merged 1 commit into
mainfrom
cursor/powershell-crlf-aa74

Conversation

@hc-ui

@hc-ui hc-ui commented Aug 26, 2026

Copy link
Copy Markdown
Owner

改动

smart fix 和生成的 .gitattributes 现在把 PowerShell 的 .ps1 / .psm1 / .psd1 当成 CRLF,和 diagnose 文档一致。以前只强制 .bat / .cmd。

与已有 draft「default-explain / check unreadable」互补,不重复。

没有 PR 模板。

验证

PYTHONPATH=eoldoctor:. python3 -m pytest -q 本机 153 passed,含新增 test_powershell_eol.py。

@hc-ui
hc-ui marked this pull request as ready for review August 26, 2026 10:29
@hc-ui
hc-ui merged commit 3dde4bc into main Aug 26, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant