From 50a289272b53432237beff2957f79fcc41d03511 Mon Sep 17 00:00:00 2001 From: Mentlegen <9807008+gentlementlegen@users.noreply.github.com> Date: Tue, 24 Sep 2024 00:40:24 +0900 Subject: [PATCH] chore: added errors --- src/validate-schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/validate-schema.ts b/src/validate-schema.ts index 02884b1..6864295 100644 --- a/src/validate-schema.ts +++ b/src/validate-schema.ts @@ -16,7 +16,7 @@ main() console.log("Configuration validated."); return payload; }) - .catch(({ errors }) => { + .catch((errors) => { console.error("Failed to validate configuration", errors); core.setFailed(errors); return errors;