Bump nock from 11.0.0.beta-14 to 11.0.0.beta-20 (#3616)
* Bump icedfrisby and icedfrisby-nock * Bump nock from 11.0.0.beta-14 to 11.0.0.beta-20 Hoping the changes from #3615 will fix the issues that appeared at https://github.com/badges/shields/pull/3552#issuecomment-504610847 * Fix apm tests * Fix githubcommitstatus
This commit is contained in:
@@ -74,7 +74,7 @@ module.exports = class GithubCommitStatus extends GithubAuthService {
|
||||
} catch (e) {
|
||||
if (e instanceof NotFound) {
|
||||
const { message } = this._parseJson(e.buffer)
|
||||
if (message.startsWith('No common ancestor between')) {
|
||||
if (message && message.startsWith('No common ancestor between')) {
|
||||
throw new InvalidParameter({ prettyMessage: 'no common ancestor' })
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user