diff --git a/README.md b/README.md index 0d3fc6f3..192db7ad 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ Executes Javascript, Typescript Scripts. --> ### **WORK IN PROGRESS** * (@klein0r) Fixed import scripts dialog +* (@klein0r) Allow to remove all custom packages (empty list) ### 8.7.6 (2024-07-28) * (foxriver76) fix error with subpath imports in scripts diff --git a/main.js b/main.js index 1fd33221..6ec3ff79 100644 --- a/main.js +++ b/main.js @@ -1836,8 +1836,8 @@ async function installNpm(npmLib) { } async function installLibraries() { - if (!adapter.config?.libraries) { - return; + if (typeof adapter.config?.libraries !== 'string') { + adapter.config.libraries = ''; } const libraries = adapter.config.libraries.split(/[,;\s]+/);