Skip to content

Commit

Permalink
wf - add memo
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeTWC1984 committed Mar 6, 2024
1 parent bf10266 commit 3ae3633
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/workflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 + ' │'
Expand Down

0 comments on commit 3ae3633

Please sign in to comment.