Skip to content

Commit

Permalink
Switch line
Browse files Browse the repository at this point in the history
  • Loading branch information
msujew committed Feb 12, 2024
1 parent 75828d7 commit 4883dc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/langium/src/workspace/document-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,8 @@ export class DefaultDocumentBuilder implements DocumentBuilder {
await callback(document);
document.state = targetState;
}
await this.notifyBuildPhase(filtered, targetState, cancelToken);
this.currentState = targetState;
await this.notifyBuildPhase(filtered, targetState, cancelToken);
}

onBuildPhase(targetState: DocumentState, callback: DocumentBuildListener): Disposable {
Expand Down

0 comments on commit 4883dc0

Please sign in to comment.