diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-05-09 17:44:14 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-05-09 17:44:14 -0400 |
commit | 5c876f2f456f75e9886946f738f07a730688f38a (patch) | |
tree | 037b1196c329953becd53cf9bf41cc3c091b44f6 /src/Utils.ts | |
parent | 99028f27788740d377fec3504f9370412cd2947d (diff) |
lint fixes
Diffstat (limited to 'src/Utils.ts')
-rw-r--r-- | src/Utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Utils.ts b/src/Utils.ts index 732f74bfc..bcb215804 100644 --- a/src/Utils.ts +++ b/src/Utils.ts @@ -323,7 +323,7 @@ export function OmitKeys(obj: any, keys: string[], pattern?: string, addKeyFunc? pattern && Array.from(Object.keys(omit)).filter(key => key.match(pattern)).forEach(key => { extract[key] = omit[key]; delete omit[key]; - }) + }); addKeyFunc?.(omit); return { omit, extract }; } |