Skip to content

Commit 4f66e46

Browse files
committed
Clean up
1 parent 92e9b2d commit 4f66e46

File tree

1 file changed

+1
-2
lines changed
  • packages/optimizely-sdk/lib/optimizely

1 file changed

+1
-2
lines changed

packages/optimizely-sdk/lib/optimizely/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1609,9 +1609,8 @@ export default class Optimizely {
16091609
keys: string[],
16101610
options: OptimizelyDecideOptions[] = []
16111611
): { [key: string]: OptimizelyDecision } {
1612-
const configObj = this.projectConfigManager.getConfig();
16131612
const decisionMap: { [key: string]: OptimizelyDecision } = {};
1614-
if (!this.isValidInstance() || !configObj) {
1613+
if (!this.isValidInstance()) {
16151614
this.logger.log(LOG_LEVEL.ERROR, sprintf(LOG_MESSAGES.INVALID_OBJECT, MODULE_NAME, 'decideForKeys'));
16161615
return decisionMap;
16171616
}

0 commit comments

Comments
 (0)