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 @@ -941,11 +941,11 @@ export default class EppoClient {
941
941
validateNotBlank ( subjectKey , 'Invalid argument: subjectKey cannot be blank' ) ;
942
942
validateNotBlank ( flagKey , 'Invalid argument: flagKey cannot be blank' ) ;
943
943
944
- // Check for override early
944
+ const flagEvaluationDetailsBuilder = this . newFlagEvaluationDetailsBuilder ( flagKey ) ;
945
+
945
946
const overrideVariation = this . overridesStore ?. get ( getMD5Hash ( flagKey ) ) ;
946
947
if ( overrideVariation ) {
947
948
const configFormat = this . overridesStore ?. getFormat ( ) ?? '' ;
948
- const flagEvaluationDetailsBuilder = this . newFlagEvaluationDetailsBuilder ( flagKey ) ;
949
949
const flagEvaluationDetails = flagEvaluationDetailsBuilder
950
950
. setMatch (
951
951
0 ,
@@ -969,7 +969,6 @@ export default class EppoClient {
969
969
} ;
970
970
}
971
971
972
- const flagEvaluationDetailsBuilder = this . newFlagEvaluationDetailsBuilder ( flagKey ) ;
973
972
const configDetails = this . getConfigDetails ( ) ;
974
973
const flag = this . getFlag ( flagKey ) ;
975
974
You can’t perform that action at this time.
0 commit comments