From 458b40ab307026b02ab8264cf80f4f4ccb17ce9b Mon Sep 17 00:00:00 2001 From: Florian Gebhardt Date: Mon, 5 Aug 2024 06:08:56 +0200 Subject: [PATCH] fix: undefined info bug introduced in 1.6.0 --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 6a19aad..1790aac 100644 --- a/index.js +++ b/index.js @@ -18,8 +18,9 @@ async function verifyConditions(config, context) { const errors = []; try { + const info = await readInfoFile(config, context); + if (config.skip_validation !== true) { - const info = await readInfoFile(config, context); isInfoValid(config, context, info); }