mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-07-17 16:39:40 +00:00
fix php unit tests & SRI hash
This commit is contained in:
parent
f0560bcc27
commit
85962a537a
2 changed files with 2 additions and 2 deletions
|
|
@ -334,7 +334,7 @@ class Helper
|
|||
public static function updateSubresourceIntegrity(): void
|
||||
{
|
||||
foreach (new GlobIterator(PATH . 'js' . DIRECTORY_SEPARATOR . '*.js') as $file) {
|
||||
if ($file->getBasename() == 'common.js') {
|
||||
if ($file->getBasename() === 'common.js' || $file->getBasename() === 'eslint.config.js') {
|
||||
continue; // ignore JS unit test bootstrap
|
||||
}
|
||||
self::$hashes[$file->getBasename()] = base64_encode(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue