From 8bbacf800b543a7249449b9fa64e7b2fbc69be82 Mon Sep 17 00:00:00 2001 From: Florian Gebhardt Date: Mon, 5 Aug 2024 06:46:31 +0200 Subject: [PATCH] fix: `skip_validation` config --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 1790aac..a801917 100644 --- a/index.js +++ b/index.js @@ -17,10 +17,12 @@ async function verifyConditions(config, context) { const { logger } = context; const errors = []; + const { skip_validation } = config; + try { const info = await readInfoFile(config, context); - if (config.skip_validation !== true) { + if (skip_validation == undefined) { isInfoValid(config, context, info); }