Skip to content

Commit 44392b4

Browse files
committed
undo linter change
1 parent ad3baa8 commit 44392b4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/core/tools/codebaseSearchTool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export async function codebaseSearchTool(
1717
removeClosingTag: RemoveClosingTag,
1818
) {
1919
const toolName = "codebase_search"
20-
const workspacePath = cline.cwd && cline.cwd.trim() !== "" ? cline.cwd : getWorkspacePath()
20+
const workspacePath = (cline.cwd && cline.cwd.trim() !== '') ? cline.cwd : getWorkspacePath()
2121

2222
if (!workspacePath) {
2323
// This case should ideally not happen if Cline is initialized correctly

src/core/webview/ClineProvider.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,8 +753,7 @@ export class ClineProvider
753753
throw new OrganizationAllowListViolationError(t("common:errors.violated_organization_allowlist"))
754754
}
755755

756-
// Bridge: If a modeSlug is provided by the cloud extension bridge, honor it before creating the task
757-
// This ensures the task initializes with the correct mode and associated provider profile
756+
// Initializes task with the correct mode and associated provider profile
758757
try {
759758
const modeSlugFromBridge: string | undefined = (options as any)?.modeSlug
760759
if (typeof modeSlugFromBridge === "string" && modeSlugFromBridge.trim().length > 0) {

0 commit comments

Comments
 (0)