mirror of
https://github.com/actions/setup-python.git
synced 2025-05-18 10:02:26 +00:00
Merge ae66cc3fdf
into 8d9ed9ac5c
This commit is contained in:
commit
b2c61ef0b3
6
dist/setup/index.js
vendored
6
dist/setup/index.js
vendored
@ -11021,7 +11021,11 @@ function getManifestFromRepo(owner, repo, auth, branch = 'master') {
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user