We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
lodash
1 parent 6d043d5 commit 1952fb5Copy full SHA for 1952fb5
src/makeConfiguration.js
@@ -26,7 +26,7 @@ export default (userConfiguration = {}) => {
26
throw new Error('"allowMultiple" property value must be a boolean.');
27
}
28
29
- if (name === 'handleNotFoundStyleName' && !['throw', 'log', 'ignore'].includes(value)) {
+ if (name === 'handleNotFoundStyleName' && !_.includes(['throw', 'log', 'ignore'], value)) {
30
throw new Error('"handleNotFoundStyleName" property value must be "throw", "log" or "ignore".');
31
32
0 commit comments