Issue #3258371 by nod_, Wim Leers: fix yarn vendor-update command

(cherry picked from commit e73a345f7c)
merge-requests/1356/merge
Lauri Eskola 2022-01-14 18:58:27 +02:00
parent 1198809b03
commit c2e32159ee
No known key found for this signature in database
GPG Key ID: 382FC0F5B0DF53F8
1 changed files with 1 additions and 1 deletions

View File

@ -343,7 +343,7 @@ const assetsFolder = `${coreFolder}/assets/vendor`;
// Use Array.reduce for sequential processing to avoid corrupting the
// contents of the concatenated CKEditor 5 translation files.
process.reduce(async (previous, { pack, files = [], folder = false, library = false }) => {
await process.reduce(async (previous, { pack, files = [], folder = false, library = false }) => {
return previous.then(async () => {
const sourceFolder = pack;
const libraryName = library || folder || pack;