diff options
Diffstat (limited to 'tools/eslint/node_modules/lodash/_stackDelete.js')
-rw-r--r-- | tools/eslint/node_modules/lodash/_stackDelete.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/eslint/node_modules/lodash/_stackDelete.js b/tools/eslint/node_modules/lodash/_stackDelete.js index 8c60260c73..ff9887ab64 100644 --- a/tools/eslint/node_modules/lodash/_stackDelete.js +++ b/tools/eslint/node_modules/lodash/_stackDelete.js @@ -8,7 +8,11 @@ * @returns {boolean} Returns `true` if the entry was removed, else `false`. */ function stackDelete(key) { - return this.__data__['delete'](key); + var data = this.__data__, + result = data['delete'](key); + + this.size = data.size; + return result; } module.exports = stackDelete; |