1
0
Fork 0
mirror of https://github.com/actions/setup-python.git synced 2025-06-08 06:27:00 +09:00
This commit is contained in:
Nathan Wagner 2025-05-21 19:21:33 -05:00 committed by GitHub
commit 6430a4a622
Signed by: github
GPG key ID: B5690EEEBB952194

6
dist/setup/index.js vendored
View file

@ -11021,7 +11021,11 @@ function getManifestFromRepo(owner, repo, auth, branch = 'master') {
core.debug('Invalid json'); core.debug('Invalid json');
} }
} }
return releases; if (!releases.hasOwnProperty('documentation_url')){
return releases;
}else{
throw new Error ('github API rate limiting response in JSON format')
}
}); });
} }
exports.getManifestFromRepo = getManifestFromRepo; exports.getManifestFromRepo = getManifestFromRepo;