Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 3, 2023
1 parent 2a96dcb commit 8ed8c16
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/renderer/src/stories/JSONSchemaForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,9 @@ export class JSONSchemaForm extends LitElement {
const regex = new RegExp(schema.pattern);
if (!regex.test(parent[name])) {
errors.push({
message: `${schema.title ?? header(name)} does not match the required pattern (${schema.pattern}).`,
message: `${schema.title ?? header(name)} does not match the required pattern (${
schema.pattern
}).`,
type: "error",
});
}
Expand Down

0 comments on commit 8ed8c16

Please sign in to comment.