Skip to content

Use git config core.autocrlf false on windows machines #1184

@joyeecheung

Description

@joyeecheung

Refs: nodejs/node#19221

I think the current git setting on those machines converts CRLF to LF on checkout, which should not be what normal windows devs are using because the JS linter would complain about all the CRLF in the code base, and this causes the Windows CI of nodejs/node#19221 to fail because it is matching output mixed with code from local files.

Can somebody help me configure this on the CI? git config core.autocrlf false should stop git from converting the line feeds. I don't think I have access to the windows jobs. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions