CI: Fix warnings variable usage inside theme preview workflow (#2886)
This commit is contained in:
1 parent
f0268559e0
commit
ee978f332b
1 file changed
+1
-1
@@ -451,7 +451,7 @@ export const run = async () => {
|
|||||||
debug("Theme preview body: Check if the theme colors are valid...");
|
debug("Theme preview body: Check if the theme colors are valid...");
|
||||||
let invalidColors = false;
|
let invalidColors = false;
|
||||||
if (!colors) {
|
if (!colors) {
|
||||||
warning.push("Theme colors are missing");
|
warnings.push("Theme colors are missing");
|
||||||
invalidColors = true;
|
invalidColors = true;
|
||||||
} else {
|
} else {
|
||||||
const missingKeys = REQUIRED_COLOR_PROPS.filter(
|
const missingKeys = REQUIRED_COLOR_PROPS.filter(
|
||||||
|
|||||||
Reference in new issue
Block a user