Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
c2e32159
Unverified
Commit
c2e32159
authored
Jan 14, 2022
by
lauriii
Browse files
Issue
#3258371
by nod_, Wim Leers: fix yarn vendor-update command
(cherry picked from commit
e73a345f
)
parent
1198809b
Changes
1
Show whitespace changes
Inline
Side-by-side
core/scripts/js/assets.js
View file @
c2e32159
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment