Skip to content

Commit f02da69

Browse files
committed
resolve comments
1 parent a17e184 commit f02da69

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/language/src/document.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ export async function loadDocument(
141141
if (additionalErrors.length > 0) {
142142
return {
143143
success: false,
144+
model: returnPartialModelForError ? (document.parseResult.value as Model) : undefined,
144145
errors: additionalErrors,
145146
warnings,
146147
};

0 commit comments

Comments
 (0)