Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
742e26abc1
commit
bdb5defa3a
1 changed files with 1 additions and 1 deletions
|
|
@ -301,7 +301,7 @@ function cleanup(base: string): void {
|
|||
/** Create a real git repo for fix-merge tests */
|
||||
function createGitBase(): string {
|
||||
const base = mkdtempSync(join(tmpdir(), "gsd-fixmerge-test-"));
|
||||
execSync("git init", { cwd: base, stdio: "ignore" });
|
||||
execSync("git init -b main", { cwd: base, stdio: "ignore" });
|
||||
execSync("git config user.email test@test.com", { cwd: base, stdio: "ignore" });
|
||||
execSync("git config user.name Test", { cwd: base, stdio: "ignore" });
|
||||
writeFileSync(join(base, "README.md"), "init\n", "utf-8");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue