Skip to content

Commit 6f499c5

Browse files
authored
Merge pull request #2572 from strictdoc-project/stanislaw/debug_windows_endings
chore(.gitattributes): remove the LF normalization for test files
2 parents e750d02 + 18002a1 commit 6f499c5

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
This file was deleted.

strictdoc/commands/manage_autouid_command.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ def _rewrite_source_file(
176176
]
177177

178178
# This is important for Windows. Otherwise, the hash key will be calculated incorrectly.
179+
instance_bytes = instance_bytes.replace(b"\r\n", b"\n")
179180
code = code.replace(b"\r\n", b"\n")
180181

181182
hash_spdx_id = bytes(get_random_sha256(), encoding="utf8")

tests/end2end/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# Dummy comment
1+
# Dummy comment.

0 commit comments

Comments
 (0)