Skip to content

Commit 86e3d1f

Browse files
committed
Fix lint issues
1 parent c85454c commit 86e3d1f

File tree

2 files changed

+216
-218
lines changed

2 files changed

+216
-218
lines changed

lib/optimizely/cmab/cmab_client.rb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,10 @@ def fetch_decision(rule_id, user_id, attributes, cmab_uuid, timeout: MAX_WAIT_TI
7272
}]
7373
}
7474

75-
variation_id = if @retry_config
76-
_do_fetch_with_retry(url, request_body, @retry_config, timeout)
77-
else
75+
variation_id = @retry_config ?
76+
_do_fetch_with_retry(url, request_body, @retry_config, timeout) :
7877
_do_fetch(url, request_body, timeout)
79-
end
80-
return variation_id
78+
variation_id
8179
end
8280

8381
def _do_fetch(url, request_body, timeout)

0 commit comments

Comments
 (0)