Issue #3258371 by nod_, Wim Leers: fix yarn vendor-update command
parent
b12d11a482
commit
e73a345f7c
|
@ -343,7 +343,7 @@ const assetsFolder = `${coreFolder}/assets/vendor`;
|
||||||
|
|
||||||
// Use Array.reduce for sequential processing to avoid corrupting the
|
// Use Array.reduce for sequential processing to avoid corrupting the
|
||||||
// contents of the concatenated CKEditor 5 translation files.
|
// 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 () => {
|
return previous.then(async () => {
|
||||||
const sourceFolder = pack;
|
const sourceFolder = pack;
|
||||||
const libraryName = library || folder || pack;
|
const libraryName = library || folder || pack;
|
||||||
|
|
Loading…
Reference in New Issue