Skip to content

Commit 1952fb5

Browse files
le0nikgajus
authored andcommitted
fix: use includes from lodash instead of a native one (#255)
1 parent 6d043d5 commit 1952fb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/makeConfiguration.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default (userConfiguration = {}) => {
2626
throw new Error('"allowMultiple" property value must be a boolean.');
2727
}
2828

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

0 commit comments

Comments
 (0)