configorama 0.9.3 → 0.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/main.js +2 -2
package/package.json
CHANGED
package/src/main.js
CHANGED
|
@@ -1255,8 +1255,8 @@ class Configorama {
|
|
|
1255
1255
|
Config error:\n
|
|
1256
1256
|
Path "${configValuePath}" resolved to "undefined".\n
|
|
1257
1257
|
Verify the ${varDisplay} in config at "${configValuePath}".\n
|
|
1258
|
-
${leaf ? `See:\n ${
|
|
1259
|
-
${leaf && leaf.isFileRef ? `\n The error could be deeper in the referenced file at ${configValuePath.replace(leaf.originalValuePath, '').replace(/^\./, '')} key.\n` : ''}`
|
|
1258
|
+
${leaf ? `See:\n ${configValuePath}: ${leaf.originalSource} ` : ''}
|
|
1259
|
+
${leaf && leaf.isFileRef ? `\n The error could be deeper in the referenced file at ${configValuePath.replace(leaf.originalValuePath || configValuePath, '').replace(/^\./, '')} key.\n` : ''}`
|
|
1260
1260
|
throw new Error(errorMessage)
|
|
1261
1261
|
}
|
|
1262
1262
|
if (typeof rawValue === 'string') {
|