From 8b1c47cf16249ca3cb26ffdb7348d33ca5be5aff Mon Sep 17 00:00:00 2001 From: SAY-5 Date: Wed, 15 Apr 2026 18:01:40 -0700 Subject: [PATCH] cli-kit: fix 'occured' -> 'occurred' comment typo in json-schema union-issue helper Inline comment in packages/cli-kit/src/public/node/json-schema.ts read 'get the schema list from where the union issue occured'. Doc-only TS change. Signed-off-by: SAY-5 --- packages/cli-kit/src/public/node/json-schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli-kit/src/public/node/json-schema.ts b/packages/cli-kit/src/public/node/json-schema.ts index e5cb6b2ec9f..d041d542d50 100644 --- a/packages/cli-kit/src/public/node/json-schema.ts +++ b/packages/cli-kit/src/public/node/json-schema.ts @@ -233,7 +233,7 @@ function simplifyUnionErrors(rawErrors: AjvError[], subject: object, schema: Sch // we start by assuming only the union error itself is useful, and not the errors from the candidate schemas let simplifiedUnionRelatedErrors: AjvError[] = [unionError] - // get the schema list from where the union issue occured + // get the schema list from where the union issue occurred const dottedSchemaPath = unionError.schemaPath.replace('#/', '').replace(/\//g, '.') const unionSchemas = getPathValue(schema, dottedSchemaPath) // and the slice of the subject that caused the issue