mirror of
https://github.com/actions/setup-python.git
synced 2026-03-25 08:01:02 +00:00
Merge ae66cc3fdf9e31fb9f188fda02d9f9d89390a9f6 into 28f2168f4d98ee0445e3c6321f6e6616c83dd5ec
This commit is contained in:
commit
bf8b99a7c6
6
dist/setup/index.js
vendored
6
dist/setup/index.js
vendored
@ -40959,7 +40959,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…
x
Reference in New Issue
Block a user