remove lodash

This commit is contained in:
2024-10-22 09:10:22 -05:00
parent 6695069d73
commit f1de44bac4
3 changed files with 5 additions and 16 deletions
+3 -3
View File
@@ -1,6 +1,4 @@
/* eslint-disable no-bitwise */
const _ = require('lodash');
class Console {
constructor() {
this.sportInitialized = false;
@@ -82,7 +80,9 @@ class Console {
break;
}
if (this.propertiesToDelete) {
this.state = _.omit(this.state, this.propertiesToDelete);
this.propertiesToDelete.forEach((property) => {
delete this.state[property];
});
}
}
}