lib/tasks/elibrary/citations_cop_importer.rb
Method run_final_queries
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def run_final_queries
# need to duplicate CoP documents, which are linked to more than one proposal
# that applies to old documents
sql = <<-SQL
WITH proposal_details AS (