mirror of https://github.com/actions/setup-python
Merge ae66cc3fdf
into 9c76e71650
This commit is contained in:
commit
1d8b3dfc4e
|
@ -10063,7 +10063,11 @@ function getManifestFromRepo(owner, repo, auth, branch = 'master') {
|
|||
core.debug('Invalid json');
|
||||
}
|
||||
}
|
||||
if (!releases.hasOwnProperty('documentation_url')){
|
||||
return releases;
|
||||
}else{
|
||||
throw new Error ('github API rate limiting response in JSON format')
|
||||
}
|
||||
});
|
||||
}
|
||||
exports.getManifestFromRepo = getManifestFromRepo;
|
||||
|
|
Loading…
Reference in New Issue