Skip to content

Commit

Permalink
fix: use includes from lodash instead of a native one (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
le0nik authored and gajus committed Aug 16, 2017
1 parent 6d043d5 commit 1952fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/makeConfiguration.js
Expand Up @@ -26,7 +26,7 @@ export default (userConfiguration = {}) => {
throw new Error('"allowMultiple" property value must be a boolean.');
}

if (name === 'handleNotFoundStyleName' && !['throw', 'log', 'ignore'].includes(value)) {
if (name === 'handleNotFoundStyleName' && !_.includes(['throw', 'log', 'ignore'], value)) {
throw new Error('"handleNotFoundStyleName" property value must be "throw", "log" or "ignore".');
}

Expand Down

0 comments on commit 1952fb5

Please sign in to comment.