Skip to content

Commit b1dae21

Browse files
author
ShayBC
committed
removed cline instance type check to allow mocks
1 parent 5651b35 commit b1dae21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/webview/ClineProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
9696
// When the task is completed, the top instance is removed, reactivating the previous task.
9797
async addClineToStack(cline: Cline) {
9898
try {
99-
if (!cline || !(cline instanceof Cline)) {
99+
if (!cline) {
100100
throw new Error("Error invalid Cline instance provided.")
101101
}
102102

0 commit comments

Comments
 (0)