Add extra log when no comments available
This commit is contained in:
parent
b12a5c5163
commit
64f30cecfd
@ -320,6 +320,9 @@ func ActionViewComments(_ []string) {
|
||||
printError("Failed to get issue", err)
|
||||
return
|
||||
}
|
||||
if len(issue.Fields.Comments.Comments) == 0 {
|
||||
println("This issue has no comments")
|
||||
}
|
||||
for i, comment := range issue.Fields.Comments.Comments {
|
||||
if i != 0 {
|
||||
println()
|
||||
|
Loading…
x
Reference in New Issue
Block a user