CI: Fix warnings variable usage inside theme preview workflow (#2886)

This commit is contained in:
Alexandr Garbuzov 2023-06-27 14:19:26 +03:00 committed by GitHub
parent f0268559e0
commit ee978f332b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(