From 3ae3633a19122d7e703cf8cca3c7c7768a926075 Mon Sep 17 00:00:00 2001 From: mikeTWC1984 Date: Tue, 5 Mar 2024 22:29:15 -0500 Subject: [PATCH] wf - add memo --- bin/workflow.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/workflow.js b/bin/workflow.js index 3fcefd8..c893299 100644 --- a/bin/workflow.js +++ b/bin/workflow.js @@ -313,7 +313,8 @@ stream.on('json', function (job) { } let prog = `[${taskList.length - pendingJobs}/${taskList.length}]` let arg = jobStatus[j].arg ? ': ' + jobStatus[j].arg : '' - msg = ` │ ${jstat} ${jobStatus[j].title + arg} (job ${j}) completed ${prog} at ${(new Date()).toLocaleTimeString()}${EOL} │ \u001b[33melapsed in ${niceInterval(jobStatus[j].elapsed)}\u001b[39m ${desc}` + let memo = compl.memo ? ', memo: ' + compl.memo : '' + msg = ` │ ${jstat} ${jobStatus[j].title + arg} (job ${j}) completed ${prog} at ${(new Date()).toLocaleTimeString()}${EOL} │ \u001b[33melapsed in ${niceInterval(jobStatus[j].elapsed)}${memo}\u001b[39m ${desc}` } msg += EOL + ' │'