Skip to content

Commit 187b684

Browse files
nonokarmi
authored andcommitted
[RAILS] Fixed incorrect rescueing of ANSI not being available in the import Rake task
Closes elastic#15
1 parent 72f0e76 commit 187b684

File tree

1 file changed

+1
-1
lines changed
  • elasticsearch-rails/lib/elasticsearch/rails/tasks

1 file changed

+1
-1
lines changed

elasticsearch-rails/lib/elasticsearch/rails/tasks/import.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
STDOUT.sync = true
1616
STDERR.sync = true
1717

18-
begin; require 'ansi/progressbar' rescue LoadError; end
18+
begin; require 'ansi/progressbar'; rescue LoadError; end
1919

2020
namespace :elasticsearch do
2121

0 commit comments

Comments
 (0)