node_modules

This commit is contained in:
softprops 2019-09-18 13:19:04 +09:00
parent 2984051a42
commit b28d8151ad
445 changed files with 83959 additions and 1 deletions

16
node_modules/@octokit/graphql/lib/error.js generated vendored Normal file
View file

@ -0,0 +1,16 @@
module.exports = class GraphqlError extends Error {
constructor (request, response) {
const message = response.data.errors[0].message
super(message)
Object.assign(this, response.data)
this.name = 'GraphqlError'
this.request = request
// Maintains proper stack trace (only available on V8)
/* istanbul ignore next */
if (Error.captureStackTrace) {
Error.captureStackTrace(this, this.constructor)
}
}
}