ADD: enforce lowercase on priority and severity
This commit is contained in:
parent
ca6b2aed9e
commit
781bd7d3e9
@ -490,17 +490,17 @@ sub createIssue
|
|||||||
|
|
||||||
my $priority = $issueTree->newBlob();
|
my $priority = $issueTree->newBlob();
|
||||||
$priority->path("priority");
|
$priority->path("priority");
|
||||||
$priority->_content($self->priority);
|
$priority->_content(lc($self->priority));
|
||||||
$issueTree->add($priority);
|
$issueTree->add($priority);
|
||||||
|
|
||||||
my $severity = $issueTree->newBlob();
|
my $severity = $issueTree->newBlob();
|
||||||
$severity->path("severity");
|
$severity->path("severity");
|
||||||
$severity->_content($self->severity);
|
$severity->_content(lc($self->severity));
|
||||||
$issueTree->add($severity);
|
$issueTree->add($severity);
|
||||||
|
|
||||||
my $type = $issueTree->newBlob();
|
my $type = $issueTree->newBlob();
|
||||||
$type->path("type");
|
$type->path("type");
|
||||||
$type->_content($self->type);
|
$type->_content(lc($self->type));
|
||||||
$issueTree->add($type);
|
$issueTree->add($type);
|
||||||
|
|
||||||
my $last_changed = $issueTree->newBlob();
|
my $last_changed = $issueTree->newBlob();
|
||||||
|
Loading…
Reference in New Issue
Block a user