diff options
-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, |