update error message wording

master
Brad Cornes 2020-06-16 16:49:08 +01:00
parent f4507eea46
commit 1de8af5de1
1 changed files with 4 additions and 1 deletions

View File

@ -360,7 +360,10 @@ function getInvalidConfigPathDiagnostics(
isValid(value[key]) isValid(value[key])
) )
if (firstValidKey) { if (firstValidKey) {
message += ` Did you mean '${stitch([...keys, firstValidKey])}'?` message += ` Did you mean something like '${stitch([
...keys,
firstValidKey,
])}'?`
} }
} }
} }