Skip to content

[Bug] Auto-fix rewrites .env files with different line endings #314

@Chrilleweb

Description

@Chrilleweb

Describe the bug

The auto-fix functionality rewrites .env files using LF (\n) line endings.

On Windows projects that use CRLF, this results in unnecessary full-file diffs.

Expected behavior

The original line ending style should be preserved when writing fixed .env files.

Additional context

This occurs in fixEnv.ts inside the applyFixes function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions