Commit 63fafe3
authored
build: normalize filepath slashes, eol consistency #6353
## Problem
- Tests were failing or behaving inconsistently on different operating
systems due to improper file path normalization.
- End-of-line (EOL) conflicts were causing unnecessary formatting diffs
in collaborative workflows.
## Solution
- Updated the testFile variable in the test runner to normalize paths by
replacing backslashes (\) with forward slashes, ensuring cross-platform
compatibility.
- Added the Prettier rule 'prettier/prettier': ['error', { endOfLine:
'auto' }] to align EOL behavior with the host environment, avoiding
platform-specific conflicts.1 parent c6d3c12 commit 63fafe3
2 files changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| 212 | + | |
| 213 | + | |
212 | 214 | | |
213 | 215 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
0 commit comments