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