Skip to content

Commit

Permalink
port_range lvar is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
ko1 committed Dec 18, 2024
1 parent affee18 commit 137042d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/debug/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ def initialize host: nil, port: nil
@port_range = if @port.zero?
0
else
port_range_str = (port_range || CONFIG[:port_range] || "0").to_s
port_range_str = (CONFIG[:port_range] || "0").to_s
raise "Specify a positive integer <=16 for port range" unless port_range_str.match?(/\A\d+\z/) && port_range_str.to_i <= 16
port_range_str.to_i
end
Expand Down
1 change: 1 addition & 0 deletions test/support/test_case.rb
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ def setup_remote_debuggee(cmd)
end

break if msg1 && msg2
STDERR.puts "> #{line}"
redo # loop
end

Expand Down

0 comments on commit 137042d

Please sign in to comment.