From 9ca7300c90e6cf407bde5c8b1c9d7fbf74736968 Mon Sep 17 00:00:00 2001 From: Tommaso Sciortino Date: Thu, 5 Feb 2026 12:19:17 -0800 Subject: [PATCH] Fix permission check (#18395) --- packages/core/src/config/config.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/core/src/config/config.ts b/packages/core/src/config/config.ts index 43057e83d9..7bcf9434cc 100644 --- a/packages/core/src/config/config.ts +++ b/packages/core/src/config/config.ts @@ -1824,10 +1824,6 @@ export class Config { * @returns true if the path is allowed, false otherwise. */ isPathAllowed(absolutePath: string): boolean { - if (this.interactive && path.isAbsolute(absolutePath)) { - return true; - } - const realpath = (p: string) => { let resolved: string; try {