Skip to content

Commit

Permalink
ajv upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
joehan committed Jan 3, 2025
1 parent 76f7707 commit 7688793
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/firebaseConfigValidate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ export function getValidator(): ValidateFunction {

export function getErrorMessage(e: ErrorObject) {
if (e.keyword === "additionalProperties") {
return `Object "${e.instancePath}" in "firebase.json" has unknown property: ${JSON.stringify(
return `Object "${e.dataPath}" in "firebase.json" has unknown property: ${JSON.stringify(

Check failure on line 34 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / unit (18)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 34 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / unit (18)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 34 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / vscode_unit (20)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 34 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / vscode_unit (18)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 34 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / vscode_unit (20)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 34 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / vscode_unit (18)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 34 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / vscode_integration (18)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 34 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / check-json-schema (20)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 34 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / check-json-schema (20)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 34 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / vscode_integration (20)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 34 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / vscode_integration (20)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 34 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / vscode_integration (18)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 34 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / lint (20)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.
e.params,
)}`;
} else if (e.keyword === "required") {
return `Object "${
e.instancePath
e.dataPath

Check failure on line 39 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / unit (18)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 39 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / unit (18)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 39 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / vscode_unit (20)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 39 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / vscode_unit (18)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 39 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / vscode_unit (20)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 39 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / vscode_unit (18)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 39 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / vscode_integration (18)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 39 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / check-json-schema (20)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 39 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / check-json-schema (20)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 39 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / vscode_integration (20)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 39 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / vscode_integration (20)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 39 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / vscode_integration (18)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 39 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / lint (20)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.
}" in "firebase.json" is missing required property: ${JSON.stringify(e.params)}`;
} else {
return `Field "${e.instancePath}" in "firebase.json" is possibly invalid: ${e.message}`;
return `Field "${e.dataPath}" in "firebase.json" is possibly invalid: ${e.message}`;

Check failure on line 42 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / unit (18)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 42 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / unit (18)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 42 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / vscode_unit (20)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 42 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / vscode_unit (18)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 42 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / vscode_unit (20)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 42 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / vscode_unit (18)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 42 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / vscode_integration (18)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 42 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / check-json-schema (20)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 42 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / check-json-schema (20)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 42 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / vscode_integration (20)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 42 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / vscode_integration (20)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 42 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / vscode_integration (18)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.

Check failure on line 42 in src/firebaseConfigValidate.ts

View workflow job for this annotation

GitHub Actions / lint (20)

Property 'dataPath' does not exist on type 'ErrorObject<string, Record<string, any>, unknown>'.
}
}

0 comments on commit 7688793

Please sign in to comment.