Remove useless variable

This commit is contained in:
Adam Wathan 2017-11-26 14:56:39 -05:00
parent df8d80fbbf
commit 0751431658

View File

@ -5,8 +5,7 @@ export default function(config) {
return functions({
functions: {
config: (path, defaultValue) => {
const options = config()
return _.get(options, _.trim(path, `'"`), defaultValue)
return _.get(config(), _.trim(path, `'"`), defaultValue)
},
},
})