From 2cd7fb2f1b11c41f25798054a17d616fa226f467 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bontems?= <67456035+cbontems@users.noreply.github.com> Date: Sun, 25 Jun 2023 10:05:11 +0200 Subject: [PATCH] fix: made image optional in config object --- package.json | 1 - src/schema.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 2925c99..ece2a55 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,6 @@ }, "scripts": { "commit": "git-cz", - "test": "echo \"Error: no test specified\" && exit 1", "semantic-release": "semantic-release" }, "repository": { diff --git a/src/schema.ts b/src/schema.ts index 945719b..2c882ad 100644 --- a/src/schema.ts +++ b/src/schema.ts @@ -66,7 +66,7 @@ export const imageOptions = z image: z.object({ path: z.string(), width: z.array(z.number()).optional(), - }), + }).optional(), logo: z .object({ path: z.string(),