Skip to content

Commit

Permalink
HCK: fixed absence of lodash
Browse files Browse the repository at this point in the history
  • Loading branch information
WilhelmWesser committed Nov 17, 2023
1 parent 97e9e1c commit eaea30f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reverse_engineering/helpers/generalHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ const getName = ({ name: fullName }) => dependencies.lodash.last((fullName || ''
const getNamespace = ({ name: fullName, namespace }) => (fullName || '').split('.').slice(0, -1).join('.') || namespace;
const EMPTY_NAMESPACE = '#emptyNamespace';

const handleErrorObject = error => _.pick(error, ['title', 'message', 'stack']);
const handleErrorObject = error => dependencies.lodash.pick(error, ['title', 'message', 'stack']);

module.exports = { getName, getNamespace, EMPTY_NAMESPACE, handleErrorObject };

0 comments on commit eaea30f

Please sign in to comment.