@lvce-editor/editor-worker 19.30.0 → 19.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/editorWorkerMain.js +4 -1
- package/package.json +1 -1
package/dist/editorWorkerMain.js
CHANGED
|
@@ -12003,7 +12003,10 @@ const getProblems = async () => {
|
|
|
12003
12003
|
if (!editor?.newState) {
|
|
12004
12004
|
return [];
|
|
12005
12005
|
}
|
|
12006
|
-
return editor.newState.diagnostics
|
|
12006
|
+
return editor.newState.diagnostics.map(diagnostic => ({
|
|
12007
|
+
...diagnostic,
|
|
12008
|
+
uri: diagnostic.uri || editor.newState.uri
|
|
12009
|
+
}));
|
|
12007
12010
|
});
|
|
12008
12011
|
return diagnostics;
|
|
12009
12012
|
};
|