Skip to content

Commit 5efb3f1

Browse files
author
cx-Margarita-LevitM
committed
Fix
1 parent 3eae4f5 commit 5efb3f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/aiTracking/AISuggestionTracker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ export class AISuggestionTracker {
326326
const vulnerabilityStatus = await this.getCurrentValue(fix);
327327

328328
// Check if ghost text disappeared
329-
const fileNotActive = !activeEditor || activeEditor.document.uri.fsPath !== fix.filePath;
329+
const fileNotActive = !activeEditor || activeEditor?.document.uri.fsPath !== fix.filePath;
330330
const vulnerabilityBack = vulnerabilityStatus !== null;
331331
const timeout = attempts >= 150;
332332

0 commit comments

Comments
 (0)