Skip to content

Commit

Permalink
fix reference error
Browse files Browse the repository at this point in the history
  • Loading branch information
FireLemons committed Feb 6, 2022
1 parent 129a931 commit b540df6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,8 @@ async function stripLabelsFromCardIssue (card, labels) {
throw new Error(`Failed to extract issue number from url: ${card.content_url}`)
}

const issueLables = await getIssueLabels(parseInt(issueNumber))
const issueNumber = issueNumberMatchCapture[1]

const issueLables = await getIssueLabels(parseInt(issueNumber))

const newLabels = subtractLabels(issueLables, labels)

Expand Down

0 comments on commit b540df6

Please sign in to comment.