Skip to content

Commit c5fca07

Browse files
committed
Fix whitespace lint issues
1 parent 913b247 commit c5fca07

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/optimizely/decision_service.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def get_variation_for_feature(project_config, feature_flag, user_context, decide
168168
#
169169
# Returns DecisionResult struct.
170170
holdouts = project_config.get_holdouts_for_flag(feature_flag['key'])
171-
171+
172172
if holdouts && !holdouts.empty?
173173
# Has holdouts - use get_decision_for_flag which checks holdouts first
174174
get_decision_for_flag(feature_flag, user_context, project_config, decide_options)
@@ -220,14 +220,14 @@ def get_decision_for_flag(feature_flag, user_context, project_config, decide_opt
220220
if rollout_decision.decision
221221
# Check if this was a forced decision (last reason contains "forced decision map")
222222
is_forced_decision = reasons.last&.include?('forced decision map')
223-
223+
224224
unless is_forced_decision
225225
# Only add the "bucketed into rollout" message for normal bucketing
226226
message = "The user '#{user_id}' is bucketed into a rollout for feature flag '#{feature_flag['key']}'."
227227
@logger.log(Logger::INFO, message)
228228
reasons.push(message)
229229
end
230-
230+
231231
DecisionResult.new(rollout_decision.decision, rollout_decision.error, reasons)
232232
else
233233
message = "The user '#{user_id}' is not bucketed into a rollout for feature flag '#{feature_flag['key']}'."

0 commit comments

Comments
 (0)