Update update helper for gh-helpers v0.1
Handle breaking changes to API
This commit is contained in:
parent
914ed6840b
commit
5ee5744ec9
1 changed files with 2 additions and 2 deletions
4
.github/helper-bot/index.js
vendored
4
.github/helper-bot/index.js
vendored
|
|
@ -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'
|
||||
|
||||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue