Skip to content

Commit 6d38b88

Browse files
author
Andreas Müller
committed
fixed gtt status on frames w/o note
1 parent 7116067 commit 6d38b88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gtt-status.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ tasks.status()
2222
return;
2323
}
2424

25-
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})`));
25+
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})`));
2626
})
2727
.catch(error => Cli.error('Could not read frames.', error));

0 commit comments

Comments
 (0)