File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,14 @@ export function getValidator(): ValidateFunction {
3131
3232export function getErrorMessage ( e : ErrorObject ) {
3333 if ( e . keyword === "additionalProperties" ) {
34- return `Object "${ e . instancePath } " in "firebase.json" has unknown property: ${ JSON . stringify (
34+ return `Object "${ e . dataPath } " in "firebase.json" has unknown property: ${ JSON . stringify (
3535 e . params ,
3636 ) } `;
3737 } else if ( e . keyword === "required" ) {
3838 return `Object "${
39- e . instancePath
39+ e . dataPath
4040 } " in "firebase.json" is missing required property: ${ JSON . stringify ( e . params ) } `;
4141 } else {
42- return `Field "${ e . instancePath } " in "firebase.json" is possibly invalid: ${ e . message } ` ;
42+ return `Field "${ e . dataPath } " in "firebase.json" is possibly invalid: ${ e . message } ` ;
4343 }
4444}
You can’t perform that action at this time.
0 commit comments