mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Update rubocop-discourse to 3.6.0 (#24945)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
# rubocop:disable Lint/UnreachableCode
|
||||
|
||||
require "memory_profiler"
|
||||
require "benchmark/ips"
|
||||
|
||||
@@ -105,7 +105,7 @@ def crawl_topics
|
||||
# abort if this in an incremental crawl and there were too many consecutive, skipped topics
|
||||
if @finished && @skipped_topic_count > ABORT_AFTER_SKIPPED_TOPIC_COUNT
|
||||
puts "Skipping all other topics, because this is an incremental crawl.".green
|
||||
return
|
||||
return # rubocop:disable Lint/NonLocalExitFromIterator
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user