lib/byebug/commands/finish.rb in byebug-3.0.0 vs lib/byebug/commands/finish.rb in byebug-3.1.0

- old
+ new

@@ -8,10 +8,10 @@ /^\s* fin(?:ish)? (?:\s+(\S+))? \s*$/x end def execute max_frames = Context.stack_size - @state.frame_pos - n_frames = get_int(@match[1], "finish", 0, max_frames - 1, 1) + n_frames = get_int(@match[1], 'finish', 0, max_frames - 1, 1) return nil unless n_frames force = n_frames == 0 ? true : false @state.context.step_out(@state.frame_pos + n_frames, force) @state.frame_pos = 0