Просмотр исходного кода

Missed a spot in ClineProvider

Matt Rubens 10 месяцев назад
Родитель
Сommit
fb53d331cc
1 измененных файлов с 1 добавлено и 1 удалено
  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,