Skip to content

Commit b92800d

Browse files
author
小野 直人
committed
Change the variable name from local_scope to call_frame
1 parent 48a49b1 commit b92800d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/debug/server_cdp.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ def process_cdp args
329329
abs = path
330330
end
331331

332-
local_scope = {
332+
call_frame = {
333333
callFrameId: SecureRandom.hex(16),
334334
functionName: frame.name,
335335
location: {
@@ -364,11 +364,11 @@ def process_cdp args
364364
type: 'object'
365365
}
366366
}
367-
local_scope[:scopeChain].each {|s|
367+
call_frame[:scopeChain].each {|s|
368368
oid = s.dig(:object, :objectId)
369369
@frame_id_map[oid] = i
370370
}
371-
local_scope
371+
call_frame
372372
}
373373
}
374374
when :evaluate

0 commit comments

Comments
 (0)