lib/data_update_scripts/20200901085230_remove_draft_articles_with_duplicate_canonical_url.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method run has 60 lines of code (exceeds 50 allowed). Consider refactoring.
Open

    def run
      # Currently there are duplicate draft articles in the DB with the same canonical_url.

      # This statement deletes all draft articles in excess found to be duplicate over canonical_url,
      # excluding those whose body_markdown is different from the other duplicate occurrences

    There are no issues that match your filters.

    Category
    Status