From ead85a2ef7982f2f812b03cdf748d942401f6b38 Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Wed, 26 Jan 2022 21:30:55 -0500 Subject: [PATCH] ci: update preset examples generator [skip ci] --- .github/scripts/presets_examples.mjs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/scripts/presets_examples.mjs b/.github/scripts/presets_examples.mjs index bb6c1cdf..54872cdf 100644 --- a/.github/scripts/presets_examples.mjs +++ b/.github/scripts/presets_examples.mjs @@ -32,8 +32,10 @@ action.run = async vars => child.stdout.on("data", data => stdout += data) child.stderr.on("data", data => stderr += data) child.on("close", code => { - if (code === 0) - return solve(stdout.match(/(?)/g)?.groups.svg ?? ``) + if (code === 0) { + console.log(stdout) + return solve(stdout.match(/(?)/g)?.groups.svg ?? ``) + } console.log(stdout, stderr) reject(stdout) })