mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-12 21:03:05 -07:00
fix(patch): cherry-pick 9ca7300 to release/v0.27.1-pr-18395 to patch version v0.27.1 and create version 0.27.2 (#18399)
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com>
This commit is contained in:
@@ -1711,10 +1711,6 @@ export class Config {
|
|||||||
* @returns true if the path is allowed, false otherwise.
|
* @returns true if the path is allowed, false otherwise.
|
||||||
*/
|
*/
|
||||||
isPathAllowed(absolutePath: string): boolean {
|
isPathAllowed(absolutePath: string): boolean {
|
||||||
if (this.interactive && path.isAbsolute(absolutePath)) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
const realpath = (p: string) => {
|
const realpath = (p: string) => {
|
||||||
let resolved: string;
|
let resolved: string;
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user