Don't try updating if no description
This commit is contained in:
parent
3d27d3f4ea
commit
847b8a89ca
2 changed files with 2 additions and 2 deletions
2
index.js
2
index.js
|
@ -94,7 +94,7 @@ function diffLabels(oldLabels, newLabels) {
|
|||
|
||||
if (
|
||||
oldLabel.color !== newLabel.color ||
|
||||
oldLabel.description !== newLabel.description
|
||||
(typeof newLabel.description !== 'undefined' && oldLabel.description !== newLabel.description)
|
||||
) {
|
||||
console.log('update')
|
||||
console.log({ oldLabel })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue