mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-11-16 19:09:49 +00:00
remove 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