From 2e2139d8fbbbc6f89a2d57b8e5a068b5d4482ef6 Mon Sep 17 00:00:00 2001 From: Salman Muin Kayser Chishti Date: Thu, 16 Oct 2025 14:34:09 +0100 Subject: [PATCH] LInt --- src/io-util.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/io-util.ts b/src/io-util.ts index 6aa4b64..d75e64a 100644 --- a/src/io-util.ts +++ b/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. */