Skip to content

Commit 48dbb57

Browse files
fix issue with updating line
1 parent 8e7ca1b commit 48dbb57

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/app/src/app/overmind/effects/vscode/ModelsHandler.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,9 @@ export class ModelsHandler {
129129
}
130130

131131
public updateLineCommentIndication(model: any, lineNumber: number) {
132-
const moduleModel = this.moduleModels[model.uri.path];
132+
const moduleModel =
133+
this.moduleModels[model.uri.path] ||
134+
this.getModuleModelByPath(model.uri.path.replace('/sandbox', ''));
133135

134136
moduleModel.currentLine = lineNumber;
135137

0 commit comments

Comments
 (0)