Commit dc62ecb
committed
Build: Fix copyBlockAssets's handling of folders.
When copying block-type assets from Gutenberg to Core, use Node's `fs.cp`
instead of `fs.copy`. The former has much better semantics for wholesale
copies.
Fixes build failures arising from the introduction of subdirectories in the
source directories of certain core block types.
Reviewed by youknowriad.
Fixes #64559.
git-svn-id: https://develop.svn.wordpress.org/trunk@61567 602fd350-edb4-49c9-b593-d223f7449a821 parent d200a15 commit dc62ecb
1 file changed
+8
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
230 | 233 | | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
| 234 | + | |
236 | 235 | | |
237 | 236 | | |
238 | 237 | | |
| |||
0 commit comments