mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2026-03-23 09:39:29 -04:00
update with comment in pr
This commit is contained in:
@@ -205,7 +205,7 @@ export function isToolAllowedForMode(
|
||||
const filePath = toolParams?.path
|
||||
if (
|
||||
filePath &&
|
||||
(toolParams.diff || toolParams.content) &&
|
||||
(toolParams.diff || toolParams.content || toolParams.operations) &&
|
||||
!doesFileMatchRegex(filePath, options.fileRegex)
|
||||
) {
|
||||
throw new FileRestrictionError(mode.name, options.fileRegex, options.description, filePath)
|
||||
|
||||
Reference in New Issue
Block a user