diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/upd8.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/upd8.js b/src/upd8.js index 001aaa5f..9c86c263 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -808,9 +808,7 @@ function makeProcessDocument(thingClass, { withAggregate({message: `Errors applying ${color.green(thingClass.name)} properties`}, ({ call }) => { for (const [ property, value ] of Object.entries(sourceProperties)) { - (() => { - thing[property] = value; - })(); + call(() => (thing[property] = value)); } }); |