mirror of
https://github.com/cockpit-project/cockpit.git
synced 2026-11-03 21:49:50 -09:00
tools/node-modules: Tolerate react-dropzone dist tarballs in runtime-tar
react-dropzone 14.4.0 started to include its own dist/react-dropzone-14.4.0.tgz. This should be reverted once the bug gets fixed. https://github.com/react-dropzone/react-dropzone/issues/1447
This commit is contained in:
parent
93d6090052
commit
673d935029
1 changed files with 2 additions and 1 deletions
|
|
@ -155,8 +155,9 @@ cmd_runtime_tar() {
|
|||
# special-case node_modules/iconv-lite/encodings/sbcs-data-generated.js, it's JS with binary strings in it
|
||||
# and resolve/test/resolver/cup.coffee which is a single-byte test file
|
||||
# Ubuntu 24.04's file (or at least not that in the GitHub actions runner) does not detect *.woff2 file type properly
|
||||
# react-dropzone 14.4.0 started to include a dist tarball (https://github.com/react-dropzone/react-dropzone/issues/1447)
|
||||
for pkg in $runtime_pkgs; do
|
||||
if find "$pkg" -type f -print0 |
|
||||
if find "$pkg" -type f ! -path '*/dist/react-dropzone*.tgz' -print0 |
|
||||
xargs -0 file --mime |
|
||||
grep -Ev \
|
||||
-e 'text/' \
|
||||
|
|
|
|||
Loading…
Reference in a new issue