10000 remove unnecessary line · optimizely/javascript-sdk@117a4b5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 117a4b5

Browse files
committed
remove unnecessary line
1 parent 30b1294 commit 117a4b5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/core/odp/odp_event_manager.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,6 @@ export abstract class OdpEventManager implements IOdpEventManager {
305305
this.logger.log(LogLevel.WARNING, 'Failed to Process ODP Event. ODPEventManager is not running.');
306306
return;
307307
}
308-
const hasNecessaryIdentifiers = this.hasNecessaryIdentifiers;
309308

310309
if (!this.hasNecessaryIdentifiers(event)) {
311310
this.logger.log(LogLevel.ERROR, 'ODP events should have at least one key-value pair in identifiers.');
@@ -347,7 +346,7 @@ export abstract class OdpEventManager implements IOdpEventManager {
347346
} else if (this.queueHasBatches()) {
348347
// Check if queue has a full batch available
349348
this.clearCurrentTimeout();
350-
349+
351350
while (this.queueHasBatches()) {
352351
this.makeAndSend1Batch();
353352
}

0 commit comments

Comments
 (0)
0