mirror of
https://github.com/actions/setup-python
synced 2024-11-30 21:22:28 +08:00
Merge ae66cc3fdf
into 19dfb7b659
This commit is contained in:
commit
91ef56729e
6
dist/setup/index.js
vendored
6
dist/setup/index.js
vendored
@ -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
Block a user