update diagnostic message

master
Brad Cornes 2021-07-07 12:37:41 +01:00
parent caa2ba1de8
commit 579d580896
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ function validateConfigPath(
typeof value === 'function' typeof value === 'function'
) )
) { ) {
let reason = `'${pathToString(path)}' was found but does not resolve to a string, number, array or function.` let reason = `'${pathToString(path)}' was found but does not resolve to a valid theme value.`
if (isObject(value)) { if (isObject(value)) {
let validKeys = Object.keys(value).filter( let validKeys = Object.keys(value).filter(