Skip to content

Commit

Permalink
remove debug puts
Browse files Browse the repository at this point in the history
  • Loading branch information
avdv committed Oct 9, 2020
1 parent 95de603 commit 325c58e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/colorls/core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def init_contents(path)
info = FileInfo.new(path, link_info: @long)

if info.directory?
@contents = Dir.entries(path, encoding: ColorLS::file_encoding)
@contents = Dir.entries(path, encoding: ColorLS.file_encoding)

filter_hidden_contents

Expand Down
1 change: 0 additions & 1 deletion lib/colorls/fileinfo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ def initialize(path, link_info: true)
end

def self.info(path, link_info: true)
$stderr.puts "info: #{path} - #{path.encoding}"
FileInfo.new(path, link_info: link_info)
end

Expand Down

0 comments on commit 325c58e

Please sign in to comment.