Skip to content

Commit 6ebdca4

Browse files
scidominogemini-cli-robot
authored andcommitted
Fix permission check (#18395)
1 parent 9c7a329 commit 6ebdca4

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

packages/core/src/config/config.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1711,10 +1711,6 @@ export class Config {
17111711
* @returns true if the path is allowed, false otherwise.
17121712
*/
17131713
isPathAllowed(absolutePath: string): boolean {
1714-
if (this.interactive && path.isAbsolute(absolutePath)) {
1715-
return true;
1716-
}
1717-
17181714
const realpath = (p: string) => {
17191715
let resolved: string;
17201716
try {

0 commit comments

Comments
 (0)