Skip to content

Commit 45467b9

Browse files
committed
LInt
1 parent 700a550 commit 45467b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/io/src/io-util.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ export const IS_WINDOWS = process.platform === 'win32'
2121
/**
2222
* Custom implementation of readlink to ensure Windows junctions
2323
* maintain trailing backslash for backward compatibility with Node.js < 24
24-
*
24+
*
2525
* In Node.js 20, Windows junctions (directory symlinks) always returned paths
2626
* with trailing backslashes. Node.js 24 removed this behavior, which breaks
2727
* code that relied on this format for path operations.
28-
*
28+
*
2929
* This implementation restores the Node 20 behavior by adding a trailing
3030
* backslash to all junction results on Windows.
3131
*/

0 commit comments

Comments
 (0)