When using Korean characters label, removing labels make some error.
It seems that international charaters in a label cause encoding problem.
|
if (confirmRemove.youSure) { |
|
return gitLabel.remove(configGitLabel(repo, token), answers.removals); |
|
} |
Above code should be
if (confirmRemove.youSure) {
answers.removals.forEach(function(removal) {
removal.name=encodeURIComponent(removal.name);
})
return gitLabel.remove(configGitLabel(repo, token), answers.removals);
}
I confirmed that the problem was resolved.