Browse Source

Missed a spot in ClineProvider

Matt Rubens 1 year ago
parent
commit
fb53d331cc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/webview/ClineProvider.ts

+ 1 - 1
src/core/webview/ClineProvider.ts

@@ -1785,7 +1785,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
 			const mode = message.mode ?? defaultModeSlug
 			const mode = message.mode ?? defaultModeSlug
 			const customModes = await this.customModesManager.getCustomModes()
 			const customModes = await this.customModesManager.getCustomModes()
 
 
-			const rooIgnoreInstructions = this.cline?.rooIgnoreController?.getInstructions()
+			const rooIgnoreInstructions = this.getCurrentCline()?.rooIgnoreController?.getInstructions()
 
 
 			const systemPrompt = await SYSTEM_PROMPT(
 			const systemPrompt = await SYSTEM_PROMPT(
 				this.context,
 				this.context,