File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -98,9 +98,9 @@ export function jobMessageOutputs (jobNode) {
98
98
* 00:00:00, rather than undefined
99
99
* @return {string= } Formatted duration
100
100
*/
101
- export function formatDuration ( value , allowZeros = false , timingOption = false ) {
101
+ export function formatDuration ( value , allowZeros = false , timingOption = true ) {
102
102
// Times are formatted as HH:MM:SS
103
- if ( timingOption === 'queue' || timingOption === 'total' || timingOption === 'run' || timingOption === 'cpuTime' ) {
103
+ if ( timingOption === 'queue' || timingOption === 'total' || timingOption === 'run' || timingOption === 'cpuTime' || timingOption === true ) {
104
104
if ( value || ( value === 0 && allowZeros === true ) ) {
105
105
// Convert CPU time to seconds
106
106
if ( timingOption === 'cpuTime' ) {
You can’t perform that action at this time.
0 commit comments