chore: tidy
This commit is contained in:
parent
74b605ea75
commit
206643e45c
|
@ -217,16 +217,11 @@ export class Vulnerable extends Trait {
|
|||
}
|
||||
if (AVOCADO_SERVER) {
|
||||
const keyIterator = this.locks.keys();
|
||||
// const keys = Array.from(this.locks.keys());
|
||||
for (
|
||||
let thisKey = keyIterator.next();
|
||||
thisKey.done !== true;
|
||||
thisKey = keyIterator.next()
|
||||
) {
|
||||
// newArray.push(nextValue.value);
|
||||
// }
|
||||
// for (let i = 0; i < keys.length; ++i) {
|
||||
// const key = keys[i];
|
||||
const {value: key} = thisKey;
|
||||
const remaining = this.locks.get(key) - elapsed;
|
||||
if (remaining <= 0) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user