Replace else with continue
This commit is contained in:
parent
a84f7a5a7f
commit
e14e85a266
|
@ -364,10 +364,11 @@ func convertTrelloDataToVikunja(organizationName string, trelloData []*trello.Bo
|
|||
task.Attachments = append(task.Attachments, vikunjaAttachment)
|
||||
|
||||
log.Debugf("[Trello Migration] Downloaded card attachment %s", attachment.ID)
|
||||
} else {
|
||||
// Other links are not attachments in Vikunja, but we can add them to the description
|
||||
task.Description = "<p><a href=\"" + attachment.URL + "\">" + attachment.URL + "</a></p>\n" + task.Description
|
||||
continue
|
||||
}
|
||||
|
||||
// Other links are not attachments in Vikunja, but we can add them to the description
|
||||
task.Description = "<p><a href=\"" + attachment.URL + "\">" + attachment.URL + "</a></p>\n" + task.Description
|
||||
}
|
||||
|
||||
// When the cover image was set manually, we need to add it as an attachment
|
||||
|
|
Loading…
Reference in New Issue