Skip to content

Commit

Permalink
fix #1, fix mruby-lolcat-bin#1
Browse files Browse the repository at this point in the history
  • Loading branch information
dorentus committed Apr 11, 2014
1 parent d2d0043 commit 2314dee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -2,3 +2,4 @@
.bundle
Gemfile.lock
pkg/*
.DS_Store
4 changes: 2 additions & 2 deletions mrblib/cat.rb
Expand Up @@ -49,8 +49,8 @@ def self.cat!(files, opts={})
if opts[:colored]
Lol.cat fd, opts
else
until fd.eof? do
$stdout.write(fd.read(8192))
fd.each do |line|
puts line
end
end
rescue Errno::ENOENT
Expand Down

0 comments on commit 2314dee

Please sign in to comment.