node_modules

This commit is contained in:
softprops 2019-09-09 21:38:33 +09:00
parent 29058f2f68
commit a40b254993
445 changed files with 83959 additions and 2 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)
}
}
}