不要怂,就是干,撸起袖子干!

Commit 8a1429d6 by Sushant Committed by GitHub

fix: remove custom inspect (#12262)

1 parent 8e51d2ac
Showing with 0 additions and 8 deletions
...@@ -136,10 +136,6 @@ class Association { ...@@ -136,10 +136,6 @@ class Association {
[Symbol.for('nodejs.util.inspect.custom')]() { [Symbol.for('nodejs.util.inspect.custom')]() {
return this.as; return this.as;
} }
inspect() {
return this.as;
}
} }
module.exports = Association; module.exports = Association;
...@@ -3230,10 +3230,6 @@ class Model { ...@@ -3230,10 +3230,6 @@ class Model {
return this.name; return this.name;
} }
static inspect() {
return this.name;
}
static hasAlias(alias) { static hasAlias(alias) {
return Object.prototype.hasOwnProperty.call(this.associations, alias); return Object.prototype.hasOwnProperty.call(this.associations, alias);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!