mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
undo linter change
This commit is contained in:
parent
ad3baa88d2
commit
44392b4f3c
2 changed files with 2 additions and 3 deletions
|
|
@ -17,7 +17,7 @@ export async function codebaseSearchTool(
|
|||
removeClosingTag: RemoveClosingTag,
|
||||
) {
|
||||
const toolName = "codebase_search"
|
||||
const workspacePath = cline.cwd && cline.cwd.trim() !== "" ? cline.cwd : getWorkspacePath()
|
||||
const workspacePath = (cline.cwd && cline.cwd.trim() !== '') ? cline.cwd : getWorkspacePath()
|
||||
|
||||
if (!workspacePath) {
|
||||
// This case should ideally not happen if Cline is initialized correctly
|
||||
|
|
|
|||
|
|
@ -753,8 +753,7 @@ export class ClineProvider
|
|||
throw new OrganizationAllowListViolationError(t("common:errors.violated_organization_allowlist"))
|
||||
}
|
||||
|
||||
// Bridge: If a modeSlug is provided by the cloud extension bridge, honor it before creating the task
|
||||
// This ensures the task initializes with the correct mode and associated provider profile
|
||||
// Initializes task with the correct mode and associated provider profile
|
||||
try {
|
||||
const modeSlugFromBridge: string | undefined = (options as any)?.modeSlug
|
||||
if (typeof modeSlugFromBridge === "string" && modeSlugFromBridge.trim().length > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue