Skip to content

Commit

Permalink
Fix harvester index task
Browse files Browse the repository at this point in the history
  • Loading branch information
eliotjordan committed Sep 14, 2020
1 parent ae8d747 commit 31a04e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tasks/geo_combine.rake
Expand Up @@ -64,10 +64,10 @@ namespace :geocombine do

namespace :geoblacklight_harvester do
desc 'Harvest documents from a configured GeoBlacklight instance'
task :index, [:site] do |_t, args|
task :index, [:site] => [:environment] do |_t, args|
raise ArgumentError, 'A site argument is required' unless args.site

GeoCombine::GeoBlacklightHarvester.new(args.site).index
GeoCombine::GeoBlacklightHarvester.new(args.site.to_sym).index
end
end
end

0 comments on commit 31a04e3

Please sign in to comment.