diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-04-07 12:03:28 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-04-07 12:03:55 -0300 |
commit | 4b4b38c9f466265e8ee07f5cac0b961ba990811d (patch) | |
tree | 4f85274bffa5499d1b9f3c849002aad5d3ef719b /src | |
parent | 46f62d621edc325c593981b4f8ef44d0bcadca88 (diff) |
upd8: handle empty additional file entries
Diffstat (limited to 'src')
-rwxr-xr-x | src/upd8.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upd8.js b/src/upd8.js index 66765f1d..6bd52da9 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -1685,7 +1685,7 @@ async function main() { ...(track.midiProjectFiles ?? []), ]), ] - .flatMap((fileGroup) => fileGroup.files) + .flatMap((fileGroup) => fileGroup.files ?? []) .map((file) => ({ device: path.join( mediaPath, |