From ee978f332b763eee0c52facb264a90dd1c4acc76 Mon Sep 17 00:00:00 2001 From: Alexandr Garbuzov Date: Tue, 27 Jun 2023 14:19:26 +0300 Subject: [PATCH] CI: Fix warnings variable usage inside theme preview workflow (#2886) --- scripts/preview-theme.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/preview-theme.js b/scripts/preview-theme.js index 01fc121..2012377 100644 --- a/scripts/preview-theme.js +++ b/scripts/preview-theme.js @@ -451,7 +451,7 @@ export const run = async () => { debug("Theme preview body: Check if the theme colors are valid..."); let invalidColors = false; if (!colors) { - warning.push("Theme colors are missing"); + warnings.push("Theme colors are missing"); invalidColors = true; } else { const missingKeys = REQUIRED_COLOR_PROPS.filter(