From 45467b91993f49585cda694b6f379b1de1eaf0f6 Mon Sep 17 00:00:00 2001 From: Salman Muin Kayser Chishti Date: Thu, 16 Oct 2025 14:34:09 +0100 Subject: [PATCH] LInt --- packages/io/src/io-util.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. */