Skip to content

Commit 2c1372d

Browse files
committed
Test
1 parent 276af0a commit 2c1372d

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.4.0
1+
7.6.0

scripts/windows-testing/convert-symlinks.mjs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@ async function transformDir(p) {
7070
const wslSubPath = path.relative(rootDir, subPath).replace(/\//g, '\\');
7171
const linkTargetWindowsPath = linkTarget.replace(/\//g, '\\');
7272

73+
if (
74+
linkTargetWindowsPath.endsWith('\\has-symbols') ||
75+
linkTargetWindowsPath.endsWith('\\pino-std-serializers')
76+
) {
77+
console.error('- ', wslSubPath, linkTargetWindowsPath);
78+
}
79+
7380
if ((await fs.stat(realTarget)).isDirectory()) {
7481
// This is a symlink to a directory, create a dir junction.
7582
// Re-create this symlink on the Windows FS using the Windows mklink command.
@@ -82,7 +89,11 @@ async function transformDir(p) {
8289
return;
8390
}
8491

85-
parallelCopyTasks.push(exec(`cp -Rf ${realTarget} ${subPath}`));
92+
parallelCopyTasks.push(
93+
(async () => {
94+
await fs.cp(realTarget, subPath, { recursive: true });
95+
})(),
96+
);
8697
})(),
8798
);
8899
} else if (file.isDirectory()) {

0 commit comments

Comments
 (0)