N°7331 - Ensure to keep folder browsing protection files after install/update command

This commit is contained in:
Molkobain
2024-03-11 14:46:53 +01:00
parent f3dd414a51
commit 8c1d986a03
5 changed files with 68 additions and 12 deletions

View File

@@ -28,7 +28,7 @@
"toastify-js": "^1.12.0"
},
"scripts": {
"postinstall": "php .make/dependencies/rmUnnecessaryFolders.php --manager npm",
"postupdate": "php .make/dependencies/rmUnnecessaryFolders.php --manager npm"
"postinstall": "php .make/dependencies/rmUnnecessaryFolders.php --manager npm && php .make/dependencies/npm/restoreFolderBrowsingProtection.php",
"postupdate": "php .make/dependencies/rmUnnecessaryFolders.php --manager npm && php .make/dependencies/npm/restoreFolderBrowsingProtection.php"
}
}