This commit is contained in:
Nathan Wagner 2024-10-22 13:55:09 +05:45 committed by GitHub
commit 1d8b3dfc4e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

6
dist/setup/index.js vendored
View File

@ -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;