We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85347ac commit 5bfec01Copy full SHA for 5bfec01
1 file changed
lib/tasks/ecds_index.rake
@@ -82,7 +82,7 @@ namespace :ecds_index do
82
task update_all: :environment do
83
return if File.exist?('index_updating')
84
85
- File.open('index_updating')
+ File.open('index_updating', 'w') {}
86
begin
87
mappings = File.read(File.join(Rails.root, 'app', 'lib', 'ecds', 'mappings.json'))
88
collections = JSON.parse(mappings, symbolize_names: true)
0 commit comments