diff --git a/packages/io/src/io-util.ts b/packages/io/src/io-util.ts index 6aa4b64f..d75e64a7 100644 --- a/packages/io/src/io-util.ts +++ b/packages/io/src/io-util.ts @@ -21,11 +21,11 @@ export const IS_WINDOWS = process.platform === 'win32' /** * Custom implementation of readlink to ensure Windows junctions * maintain trailing backslash for backward compatibility with Node.js < 24 - * + * * In Node.js 20, Windows junctions (directory symlinks) always returned paths * with trailing backslashes. Node.js 24 removed this behavior, which breaks * code that relied on this format for path operations. - * + * * This implementation restores the Node 20 behavior by adding a trailing * backslash to all junction results on Windows. */