update diagnostic message
parent
caa2ba1de8
commit
579d580896
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue