Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
476a94c679 |
@ -146,7 +146,8 @@ proc toStorageFormat*(issue: Issue, withComments = false): string =
|
|||||||
if withComments: lines.add("# Summary (one line):")
|
if withComments: lines.add("# Summary (one line):")
|
||||||
lines.add(issue.summary)
|
lines.add(issue.summary)
|
||||||
if withComments: lines.add("# Properties (\"key:value\" per line):")
|
if withComments: lines.add("# Properties (\"key:value\" per line):")
|
||||||
for key, val in issue.properties: lines.add(key & ": " & val)
|
for key, val in issue.properties:
|
||||||
|
if not val.isNilOrWhitespace: lines.add(key & ": " & val)
|
||||||
if issue.tags.len > 0: lines.add("tags: " & issue.tags.join(","))
|
if issue.tags.len > 0: lines.add("tags: " & issue.tags.join(","))
|
||||||
if not isNilOrWhitespace(issue.details) or withComments:
|
if not isNilOrWhitespace(issue.details) or withComments:
|
||||||
if withComments: lines.add("# Details go below the \"--------\"")
|
if withComments: lines.add("# Details go below the \"--------\"")
|
||||||
|
@ -1 +1 @@
|
|||||||
const PIT_VERSION* = "4.4.4"
|
const PIT_VERSION* = "4.5.0"
|
||||||
|
Reference in New Issue
Block a user