Closed cartermckinnon closed 3 months ago
Description of changes:
Type returned by listFiles was handled incorrectly in #1750, tested this fix locally with:
listFiles
const { Octokit } = require("@octokit/rest"); const octokit = new Octokit(); const res = octokit.rest.pulls .listFiles({ owner: "awslabs", repo: "amazon-eks-ami", pull_number: 1750 }); res.then((files) => { for (const file of files.data) { console.log(file.filename); } });
Output:
.github/actions/bot/index.js
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Description of changes:
Type returned by
listFiles
was handled incorrectly in #1750, tested this fix locally with:Output:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.