File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -956,11 +956,11 @@ export default class EppoClient {
956
956
validateNotBlank ( subjectKey , 'Invalid argument: subjectKey cannot be blank' ) ;
957
957
validateNotBlank ( flagKey , 'Invalid argument: flagKey cannot be blank' ) ;
958
958
959
- // Check for override early
959
+ const flagEvaluationDetailsBuilder = this . newFlagEvaluationDetailsBuilder ( flagKey ) ;
960
+
960
961
const overrideVariation = this . overridesStore ?. get ( getMD5Hash ( flagKey ) ) ;
961
962
if ( overrideVariation ) {
962
963
const configFormat = this . overridesStore ?. getFormat ( ) ?? '' ;
963
- const flagEvaluationDetailsBuilder = this . newFlagEvaluationDetailsBuilder ( flagKey ) ;
964
964
const flagEvaluationDetails = flagEvaluationDetailsBuilder
965
965
. setMatch (
966
966
0 ,
@@ -984,7 +984,6 @@ export default class EppoClient {
984
984
} ;
985
985
}
986
986
987
- const flagEvaluationDetailsBuilder = this . newFlagEvaluationDetailsBuilder ( flagKey ) ;
988
987
const configDetails = this . getConfigDetails ( ) ;
989
988
const flag = this . getFlag ( flagKey ) ;
990
989
You can’t perform that action at this time.
0 commit comments