mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
removed cline instance type check to allow mocks
This commit is contained in:
parent
5651b35f89
commit
b1dae213c5
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
|
|||
// When the task is completed, the top instance is removed, reactivating the previous task.
|
||||
async addClineToStack(cline: Cline) {
|
||||
try {
|
||||
if (!cline || !(cline instanceof Cline)) {
|
||||
if (!cline) {
|
||||
throw new Error("Error invalid Cline instance provided.")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue