Make eslint happy

This commit is contained in:
Mathieu TUDISCO 2020-04-17 11:52:43 +02:00 • committed by GitHub
parent 074e7aed60
commit 2e7518a885
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@ export default function(plugins, config) {
const applyConfiguredPrefix = selector => {
return prefixSelector(config.prefix, selector)
}
const getConfigValue = (path, defaultValue) => path ? _.get(config, path, defaultValue) : config
const getConfigValue = (path, defaultValue) => (path ? _.get(config, path, defaultValue) : config)
plugins.forEach(plugin => {
if (plugin.__isOptionsFunction) {