mirror of
https://github.com/github/spec-kit
synced 2026-06-21 13:51:39 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| da9911051e | |||
| 07cde6764a |
@@ -36,7 +36,7 @@ def test_ps1_file_is_ascii_only(ps1_file: Path):
|
|||||||
"""Every .ps1 file must contain only ASCII characters (PS 5.1 compat)."""
|
"""Every .ps1 file must contain only ASCII characters (PS 5.1 compat)."""
|
||||||
content = ps1_file.read_bytes()
|
content = ps1_file.read_bytes()
|
||||||
non_ascii = [
|
non_ascii = [
|
||||||
(i + 1, byte)
|
(i, byte)
|
||||||
for i, byte in enumerate(content)
|
for i, byte in enumerate(content)
|
||||||
if byte > 127
|
if byte > 127
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user