Skip to content

Commit afc5b14

Browse files
committed
Fix Windows CI: disable core.autocrlf in test git repos
1 parent 55d1e66 commit afc5b14

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • crates/affected-cli/tests

crates/affected-cli/tests/cli.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,9 @@ members = ["crates/core", "crates/app"]
6363
)
6464
.unwrap();
6565

66-
// Git init + commit
66+
// Git init + commit (disable autocrlf to avoid Windows line-ending issues)
6767
git(dir, &["init"]);
68+
git(dir, &["config", "core.autocrlf", "false"]);
6869
git(dir, &["add", "-A"]);
6970
git_commit(dir, "init");
7071
}

0 commit comments

Comments
 (0)