Ignore completed issues that were never on a Trello board.
This commit is contained in:
parent
214ac9f1b3
commit
2080be5537
@ -1,6 +1,6 @@
|
|||||||
# Package
|
# Package
|
||||||
|
|
||||||
version = "0.2.0"
|
version = "0.2.1"
|
||||||
author = "Jonathan Bernard"
|
author = "Jonathan Bernard"
|
||||||
description = "Synchronization tool between JDB pit and Trello."
|
description = "Synchronization tool between JDB pit and Trello."
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
@ -209,6 +209,10 @@ proc syncContext(
|
|||||||
|
|
||||||
for lentIssue in unmatchedIssues:
|
for lentIssue in unmatchedIssues:
|
||||||
let issue = lentIssue
|
let issue = lentIssue
|
||||||
|
|
||||||
|
# Don't worry about creating new cards for issues that are done.
|
||||||
|
if issue.state == Done: continue
|
||||||
|
|
||||||
let list = board.lists[listCategoryForIssueState(issue.state)][0]
|
let list = board.lists[listCategoryForIssueState(issue.state)][0]
|
||||||
let newCard = TrelloCard(
|
let newCard = TrelloCard(
|
||||||
name: issue.summary,
|
name: issue.summary,
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
const PIT2TRELLO_VERSION* = "0.2.0"
|
const PIT2TRELLO_VERSION* = "0.2.1"
|
||||||
|
|
||||||
const USAGE* = """
|
const USAGE* = """
|
||||||
Usage:
|
Usage:
|
||||||
|
Loading…
Reference in New Issue
Block a user