mirror of https://github.com/actions/setup-python
Compare commits
2 Commits
3902252b48
...
1d8b3dfc4e
Author | SHA1 | Date |
---|---|---|
Nathan Wagner | 1d8b3dfc4e | |
nathan wagner | ae66cc3fdf |
|
@ -10063,7 +10063,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;
|
||||||
|
|
Loading…
Reference in New Issue