refactor: lint-fix removed unneeded parens
MODIFY
packages/marshal/src/helpers/copyRecord.js
packages/marshal/src/helpers/copyRecord.js
@@ -28,7 +28,7 @@ export const CopyRecordHelper = harden({
return ownKeys(candidate).every(key => {
return (
- ((typeof key === 'string' ||
+ (typeof key === 'string' ||
(!!reject &&
reject(
X`Records can only have string-named properties: ${candidate}`,
@@ -38,7 +38,7 @@ export const CopyRecordHelper = harden({
reject(
// TODO: Update message now that there is no such thing as "implicit Remotable".
X`Records cannot contain non-far functions because they may be methods of an implicit Remotable: ${candidate}`,
- ))))
+ )))
);
});
},

refactor: lint-fix removed unneeded parens