Remove useless variable
This commit is contained in:
parent
df8d80fbbf
commit
0751431658
1 changed files with 1 additions and 2 deletions
|
|
@ -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)
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue