undo linter change

This commit is contained in:
Will Li 2025-08-15 08:00:44 -07:00
parent ad3baa88d2
commit 44392b4f3c
2 changed files with 2 additions and 3 deletions

View file

@ -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

View file

@ -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) {