Skip to content

Commit

Permalink
Remove debugging lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Gleeson committed Aug 8, 2012
1 parent f84e65b commit 557a917
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lib/pry/helpers/base_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -134,17 +134,17 @@ def stagger_output(text, out = nil)
$stdout
end

#if text.lines.count < Pry::Pager.page_size || !Pry.pager
# out.puts text
# return
#end
if text.lines.count < Pry::Pager.page_size || !Pry.pager
out.puts text
return
end

# FIXME! Another JRuby hack

if jruby?
Pry::Pager.new(text, out).page
#else
# lesspipe { |less| less.puts text }
#end
else
lesspipe { |less| less.puts text }
end
rescue Errno::ENOENT
simple_pager(text, out)
rescue Errno::EPIPE
Expand Down

0 comments on commit 557a917

Please sign in to comment.