Skip to content

Commit 3fcd46e

Browse files
yoffCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent c70fd6a commit 3fcd46e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
category: minorAnalysis
33
---
4-
* Captured variables are currently considered live when the capturing function exists normally. Now they are also considered live when the capturing function exits via an exception.
4+
* Captured variables are currently considered live when the capturing function exits normally. Now they are also considered live when the capturing function exits via an exception.

ruby/ql/test/query-tests/variables/DeadStoreOfLocal/DeadStoreOfLocal.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def get_retried x
5858
print x
5959
if x < 1
6060
begin
61-
x += 1 #$ OK - the block may be executed again
61+
x += 1 # OK - the block may be executed again
6262
raise StandardError
6363
end
6464
end

0 commit comments

Comments
 (0)