mirror of
https://github.com/actions/stale.git
synced 2025-12-16 00:16:47 +00:00
remove lib and node_modules
This commit is contained in:
16
node_modules/@octokit/graphql/lib/error.js
generated
vendored
16
node_modules/@octokit/graphql/lib/error.js
generated
vendored
@@ -1,16 +0,0 @@
|
||||
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)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user