From efdc51eaa999b673956b8bab519d9178ea4189c3 Mon Sep 17 00:00:00 2001 From: sofisl <55454395+sofisl@users.noreply.github.com> Date: Thu, 6 Jun 2024 13:57:41 -0700 Subject: [PATCH] chore: remove requiring fetch (#5440) We should just magically get it... https://github.com/danmichaelo/github-script/blob/da8818015eb5c3d01f8ad6db6bd8e3a2b460c71c/README.md --- .github/scripts/close-invalid-link.cjs | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/scripts/close-invalid-link.cjs b/.github/scripts/close-invalid-link.cjs index bf57f869292..9b3933b4585 100644 --- a/.github/scripts/close-invalid-link.cjs +++ b/.github/scripts/close-invalid-link.cjs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -const fetch = require('node-fetch'); - async function closeIssue() { await github.rest.issues.update({ owner: owner,