Skip to content

Commit 5f03a48

Browse files
committed
fix: use example.com in createWorkspace test to avoid git URL rewrites
1 parent 38ecef7 commit 5f03a48

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/ipcMain/createWorkspace.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,8 @@ exit 1
818818

819819
try {
820820
// Set up a real origin remote in the test repo
821-
const originUrl = "https://github.com/example/test-repo.git";
821+
// Use example.com to avoid global git config URL rewrites (e.g. https://github.com -> git@github.com)
822+
const originUrl = "https://example.com/example/test-repo.git";
822823
await execAsync(`git remote add origin ${originUrl}`, {
823824
cwd: tempGitRepo,
824825
});

0 commit comments

Comments
 (0)