Skip to content

Commit

Permalink
Allow to remove all custom packages (empty list)
Browse files Browse the repository at this point in the history
  • Loading branch information
klein0r committed Aug 4, 2024
1 parent d5772ea commit 0923e3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]+/);
Expand Down

0 comments on commit 0923e3f

Please sign in to comment.