From 3dbbc37490b76497ab9ef7e53f8ccbd075788769 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Fri, 13 Sep 2024 15:53:35 +0000 Subject: [PATCH] Update log messages to include 'genaiscript' identifier in run.ts --- packages/cli/src/run.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cli/src/run.ts b/packages/cli/src/run.ts index ed0dc3f283..0596b9cf01 100644 --- a/packages/cli/src/run.ts +++ b/packages/cli/src/run.ts @@ -163,7 +163,7 @@ export async function runScript( return { exitCode, result } } - logVerbose(`script: ${scriptId}`) + logVerbose(`genaiscript: ${scriptId}`) if (out) { if (removeOut) await emptyDir(out) @@ -501,6 +501,6 @@ export async function runScript( if (failOnErrors && result.annotations?.some((a) => a.severity === "error")) return fail("error annotations found", ANNOTATION_ERROR_CODE) - process.stderr.write("\n") + process.stderr.write("genaiscript: done\n") return { exitCode: 0, result } }