Update scripts
This commit is contained in:
@@ -4,6 +4,9 @@ class GithubError {
|
||||
constructor(error) {
|
||||
this.error = error;
|
||||
}
|
||||
get code() {
|
||||
return this.error.code;
|
||||
}
|
||||
toString() {
|
||||
const code = this.error.code;
|
||||
switch (code) {
|
||||
|
||||
Reference in New Issue
Block a user