diff options
| author | Noah Rosenzweig <[email protected]> | 2020-11-21 20:39:33 +0100 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2020-11-24 08:40:11 +0200 |
| commit | 631b5d4df1f6d1e38a18d0c13feaff9113aa66cb (patch) | |
| tree | d27c555a632367ed8f04d4e9eda8349d9c8e5d74 /docs/javascript | |
| parent | 13486b8e2704eba1ad664a747a7bbe1d6d60a11f (diff) | |
| download | bootstrap-631b5d4df1f6d1e38a18d0c13feaff9113aa66cb.tar.xz bootstrap-631b5d4df1f6d1e38a18d0c13feaff9113aa66cb.zip | |
Improve build/generate-sri.js regex (#29753)
When using single-quotes in config.yml, the previous
regular expression in build/generate-cli.js wasn't working correctly,
it was replacing ALL string values with hashes.
Now both double- and single-quotes can be used in config.yml,
and the RegExp will work as expected.
Also, allow trailing whitespaces and empty ("") values to be matched.
Co-authored-by: XhmikosR <[email protected]>
Diffstat (limited to 'docs/javascript')
0 files changed, 0 insertions, 0 deletions
