From d2ac7b6266a02498d9fbfdb527ee1b172e9d1860 Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Mon, 19 Dec 2022 18:08:53 -0500 Subject: [PATCH] fix(app/metrics): SVGs broken on markdown templates (#1315) --- source/app/action/index.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/app/action/index.mjs b/source/app/action/index.mjs index e7d99621..10df0b73 100644 --- a/source/app/action/index.mjs +++ b/source/app/action/index.mjs @@ -523,6 +523,8 @@ function quit(reason) { }, {retries: retries_output_action, delay: retries_delay_output_action}) } buffer.content = rendered + await fs.writeFile(paths.join("/renders", filename), buffer.content) + info(`Update /metrics_renders/${filename}`, "ok") } //Check changes