[CLEANUP] run prettier on the codebase

This commit is contained in:
Géry Debongnie
2020-04-06 13:39:59 +02:00
committed by aab-odoo
parent 8d0d8538ad
commit ddf30a8a97
4 changed files with 20 additions and 9 deletions
+5 -1
View File
@@ -133,7 +133,11 @@ const UTILS: Utils = {
},
getScope(obj, property: string) {
const obj0 = obj;
while (obj && !obj.hasOwnProperty(property) && !(obj.hasOwnProperty('__access_mode__') && obj.__access_mode__ === 'ro')) {
while (
obj &&
!obj.hasOwnProperty(property) &&
!(obj.hasOwnProperty("__access_mode__") && obj.__access_mode__ === "ro")
) {
const newObj = obj.__proto__;
if (!newObj || isComponent(newObj)) {
return obj0;