Skip to content

Commit 638338a

Browse files
update
1 parent 4df864b commit 638338a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AzureAppConfigurationImpl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ export class AzureAppConfigurationImpl implements AzureAppConfiguration {
670670
}
671671
}
672672

673-
if (variantsForExperiementation.length === 0 && featureFlag[ALLOCATION_KEY_NAME][SEED_KEY_NAME] === undefined) {
673+
if (featureFlag[ALLOCATION_KEY_NAME] === undefined || (variantsForExperiementation.length === 0 && featureFlag[ALLOCATION_KEY_NAME][SEED_KEY_NAME] === undefined)) {
674674
// All fields required for generating allocation id are missing, short-circuit and return empty string
675675
return "";
676676
}

0 commit comments

Comments
 (0)