Skip to content

Commit 750c145

Browse files
ono-maxko1
authored andcommitted
Make sure to match all constant variables in Chrome
1 parent 6ce3d02 commit 750c145

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/debug/server_cdp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ def process_cdp args
732732
break false
733733
end
734734
} and (message = "Error: Not defined global variable: #{expr.inspect}")
735-
when /(\A[A-Z][a-zA-Z]*)/
735+
when /(\A[A-Z]\w*)/
736736
unless result = search_const(b, $1)
737737
message = "Error: Not defined constant: #{expr.inspect}"
738738
end

0 commit comments

Comments
 (0)