Skip to content

Commit

Permalink
refactor(model): remove unnecessary option fallback (#13825)
Browse files Browse the repository at this point in the history
At that line variable "options" cannot be falsy.
  • Loading branch information
dilyanpalauzov committed Dec 26, 2021
1 parent 490a3cc commit 76610dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/model.js
Expand Up @@ -106,7 +106,7 @@ class Model {
this._previousDataValues = {};
this.uniqno = 1;
this._changed = new Set();
this._options = options || {};
this._options = options;

/**
* Returns true if this instance has not yet been persisted to the database
Expand Down

0 comments on commit 76610dd

Please sign in to comment.