Skip to content

Commit

Permalink
Update log messages to include 'genaiscript' identifier in run.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Sep 13, 2024
1 parent 7b0318c commit 3dbbc37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export async function runScript(
return { exitCode, result }
}

logVerbose(`script: ${scriptId}`)
logVerbose(`genaiscript: ${scriptId}`)

if (out) {
if (removeOut) await emptyDir(out)
Expand Down Expand Up @@ -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 }
}

0 comments on commit 3dbbc37

Please sign in to comment.