Merge "Fix: 'Illegal label name'"
This commit is contained in:
commit
6c9603aa40
@ -115,7 +115,7 @@ public class ReviewCommand extends SshCommand {
|
||||
|
||||
@Option(name = "--label", aliases = "-l", usage = "custom label(s) to assign", metaVar = "LABEL=VALUE")
|
||||
void addLabel(final String token) {
|
||||
LabelVote v = LabelVote.parse(token);
|
||||
LabelVote v = LabelVote.parseWithEquals(token);
|
||||
LabelType.checkName(v.getLabel()); // Disallow SUBM.
|
||||
customLabels.put(v.getLabel(), v.getValue());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user