diff --git a/reverse_engineering/helpers/generalHelper.js b/reverse_engineering/helpers/generalHelper.js index 6454cdc..698face 100644 --- a/reverse_engineering/helpers/generalHelper.js +++ b/reverse_engineering/helpers/generalHelper.js @@ -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 };