mirror of
https://github.com/softprops/action-gh-release.git
synced 2026-11-12 21:41:58 +08:00
remove node_modules
This commit is contained in:
1 parent
c7638c8893
commit
60358a145c
444 files changed
-83958
No files matched your search
-16
@@ -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