Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed gtt status on frames w/o note
  • Loading branch information
Andreas Müller committed Nov 29, 2022
commit 6d38b88566b6e8632f3ccb911efb5aa14e81fb6b
2 changes: 1 addition & 1 deletion src/gtt-status.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ tasks.status()
return;
}

frames.forEach(frame => console.log(`Project ${frame.project.magenta} ${frame.resource.type.blue} ${('#' + frame.resource.id).blue} "${frame.note}" is running, started ${moment(frame.start).fromNow().green} (id: ${frame.id})`));
frames.forEach(frame => console.log(`Project ${frame.project.magenta} ${frame.resource.type.blue} ${('#' + frame.resource.id).blue} ${frame.note?frame.note:''} is running, started ${moment(frame.start).fromNow().green} (id: ${frame.id})`));
})
.catch(error => Cli.error('Could not read frames.', error));