Skip to content

Commit

Permalink
Update update helper for gh-helpers v0.1
Browse files Browse the repository at this point in the history
Handle breaking changes to API
  • Loading branch information
extremeheat committed Mar 9, 2024
1 parent 914ed68 commit 5ee5744
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/helper-bot/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Automatic version update checker for Minecraft bedrock edition.
const fs = require('fs')
const cp = require('child_process')
const helper = require('gh-helpers')
const helper = require('gh-helpers')()
const latestVesionEndpoint = 'https://itunes.apple.com/lookup?bundleId=com.mojang.minecraftpe&time=' + Date.now()
const changelogURL = 'https://feedback.minecraft.net/hc/en-us/sections/360001186971-Release-Changelogs'

Expand Down Expand Up @@ -103,7 +103,7 @@ async function fetchLatest () {

const title = `Support Minecraft ${result.version}`

const issueStatus = await helper.getIssueStatus(title)
const issueStatus = await helper.getIssueStatus({ title })

if (supportedVersions.includes(version)) {
if (issueStatus.open) {
Expand Down

0 comments on commit 5ee5744

Please sign in to comment.