mirror of
https://github.com/actions/setup-python.git
synced 2025-07-10 01:17:36 +08:00
Merge ae66cc3fdf9e31fb9f188fda02d9f9d89390a9f6 into e348410e00f449ece8581cb8e88be8f0e7712da6
This commit is contained in:
commit
46ff0ce4c5
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…
x
Reference in New Issue
Block a user