[FIX] web: tooling: fix support for older tooling

Older tooling used prettier config files. The issue was that the
disable command of the tooling was also changed to not remove those
files as they shouldn't exist anymore.
But changing from 16 to master without manually triggering a tooling
"disable" would then left the prettier config and mess with the addons
eslint whitelist.

closes odoo/odoo#110582

Signed-off-by: Samuel Degueldre <sad@odoo.com>
This commit is contained in:
Simon Genin (ges)
2023-01-26 14:19:06 +01:00
parent 7dc2190fa4
commit f5c5e51917
+5
View File
@@ -10,6 +10,11 @@ disableInDir () {
rm package.json
rm package-lock.json
rm -r node_modules
# to support old versions
rm -f .prettierignore
rm -r .prettierrc.json
cd - &> /dev/null
}