Skip to content

Commit

Permalink
fix: set has a delete method not remove
Browse files Browse the repository at this point in the history
  • Loading branch information
christophehurpeau committed Jul 18, 2018
1 parent 835c4f7 commit 6289059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/context/repoContext.js
Expand Up @@ -29,7 +29,7 @@ const initRepoContext = async (context, config) => {
if (!label) return;
const existing = prLabels.find(prLabel => prLabel.id === label.id);
if (existing) {
newLabels.remove(existing.name);
newLabels.delete(existing.name);
modified = true;
}
});
Expand Down

0 comments on commit 6289059

Please sign in to comment.