Skip to content

Commit b968444

Browse files
committed
try relative symlinks
1 parent 6b35465 commit b968444

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/integration/git.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ const makeFileChanges = async (
174174
recursive: true,
175175
});
176176
await fs.promises.symlink(
177-
path.join(repoDirectory, "README.md"),
177+
"../README.md",
178178
path.join(repoDirectory, "some-dir", "nested"),
179179
);
180180
await git.add({
@@ -192,7 +192,7 @@ const makeFileChanges = async (
192192
if (changegroup === "with-changed-symlink") {
193193
await fs.promises.rm(path.join(repoDirectory, "some-dir", "nested"));
194194
await fs.promises.symlink(
195-
path.join(repoDirectory, "LICENSE"),
195+
"../LICENSE",
196196
path.join(repoDirectory, "some-dir", "nested"),
197197
);
198198
}

0 commit comments

Comments
 (0)