Skip to content

Commit

Permalink
fix: use replaceLabels to replace deprecated replaceAllLabels
Browse files Browse the repository at this point in the history
  • Loading branch information
christophehurpeau committed Dec 4, 2018
1 parent d3a7bf2 commit c563960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/context/repoContext.js
Expand Up @@ -131,7 +131,7 @@ const initRepoContext = async (context, config) => {
if (process.env.DRY_RUN) return;

if (toAdd.size || toDelete.size) {
await context.github.issues.replaceAllLabels(
await context.github.issues.replaceLabels(
context.issue({
labels: [...newLabels],
})
Expand Down

0 comments on commit c563960

Please sign in to comment.