mirror of
https://github.com/anuraghazra/github-readme-stats.git
synced 2025-01-30 14:08:14 +08:00
CI: Fix warnings variable usage inside theme preview workflow (#2886)
This commit is contained in:
parent
f0268559e0
commit
ee978f332b
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user