Skip to content

Commit

Permalink
unknown keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
stkenny committed Feb 7, 2025
1 parent b9d61f5 commit 52746d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/jobs/process_batch_ingest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def self.perform(user_id, collection_id, ingest_json)
user = UserGroup::User.find(user_id)

download_path = File.join(Settings.downloads.directory, collection_id)
FileUtils.mkdir_p(download_path, force: true)
FileUtils.mkdir_p(download_path) unless File.exist?(download_path)

# retrieve information about metadata file to be ingested
metadata_info = ingest_batch['metadata']
Expand Down

0 comments on commit 52746d6

Please sign in to comment.