@lvce-editor/editor-worker 19.30.6 → 19.30.7
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 +1 -1
- package/package.json +1 -1
package/dist/editorWorkerMain.js
CHANGED
|
@@ -11494,7 +11494,7 @@ const getEditorSourceActions = async editorId => {
|
|
|
11494
11494
|
newState
|
|
11495
11495
|
} = get$8(editorId);
|
|
11496
11496
|
const extensions = await invoke$d('Extensions.getAllExtensions', newState.assetDir, newState.platform);
|
|
11497
|
-
return extensions.flatMap(extension => extension.codeActions || []).filter(action => action.languageId === newState.languageId);
|
|
11497
|
+
return extensions.filter(extension => !extension.disabled).flatMap(extension => extension.codeActions || []).filter(action => action.languageId === newState.languageId);
|
|
11498
11498
|
};
|
|
11499
11499
|
|
|
11500
11500
|
/* eslint-disable sonarjs/super-linear-regex */
|