lib/git_ls.rb in git_ls-0.1.0 vs lib/git_ls.rb in git_ls-0.2.0

- old
+ new

@@ -11,8 +11,10 @@ class << self def files(path = ::Dir.pwd) path = ::File.join(path, '.git/index') if ::File.directory?(path) ::GitLS::Parser.new(::File.new(path)).files + rescue Errno::ENOENT => e + raise GitLS::Error, "Not a git directory: #{e.message}" end end end