From f8739208717491bdcd3f5ba74488bd62ced24611 Mon Sep 17 00:00:00 2001 From: Simon Lecoq <22963968+lowlighter@users.noreply.github.com> Date: Wed, 3 Nov 2021 21:51:51 -0400 Subject: [PATCH] fix(app/action): fix `output_action: none` (#649) --- source/app/action/index.mjs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/app/action/index.mjs b/source/app/action/index.mjs index df7303c4..a43e4ef7 100644 --- a/source/app/action/index.mjs +++ b/source/app/action/index.mjs @@ -355,6 +355,13 @@ async function wait(seconds) { info(`Save to /metrics_renders/${filename}`, "ok") } + //No output action apart from file on runner + if (_output === "none") { + info.break() + console.log("Success, thanks for using metrics!") + process.exit(0) + } + //Cache if (/markdown/.test(convert)) { const regex = /(?)/g