From 5a46905b01e89256ffc7c4cad429de2891e4f8ce Mon Sep 17 00:00:00 2001 From: extremeheat Date: Sat, 9 Mar 2024 15:47:14 -0500 Subject: [PATCH] Update update helper for gh-helpers v0.1 Handle breaking changes --- .github/helper-bot/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/helper-bot/index.js b/.github/helper-bot/index.js index fb268d31f..6eaf6f00f 100644 --- a/.github/helper-bot/index.js +++ b/.github/helper-bot/index.js @@ -1,6 +1,6 @@ const fs = require('fs') const cp = require('child_process') -const helper = require('gh-helpers') +const helper = require('gh-helpers')() const pcManifestURL = 'https://launchermeta.mojang.com/mc/game/version_manifest.json' const changelogURL = 'https://feedback.minecraft.net/hc/en-us/sections/360001186971-Release-Changelogs' @@ -51,7 +51,7 @@ async function updateManifestPC () { const latestVersionIsSnapshot = latestVersionData.type !== 'release' const title = `Support Minecraft PC ${latestVersion}` - const issueStatus = await helper.getIssueStatus(title) + const issueStatus = await helper.getIssueStatus({ title }) if (latestVersionIsSnapshot) { // don't make issues for snapshots