Skip to content

Conversation

@muaydin
Copy link

@muaydin muaydin commented Jan 13, 2025

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.

  • Treat all work as PUBLIC. Private feature/x branches will not be squash-merged at release time.
  • Your code changes must meet the guidelines in CONTRIBUTING.md.
  • License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@muaydin muaydin changed the title fix(OS-Compatibility): Normalize file paths and enforce EOL consistency fix(os-compatibility): normalize file paths and enforce eol consistency Jan 13, 2025
@muaydin muaydin closed this Jan 13, 2025
@muaydin muaydin reopened this Jan 13, 2025
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.

2 participants