mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 03:51:07 +08:00
DEV: lint against Layout/EmptyLineBetweenDefs (#24914)
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
|
||||
module ImportScripts
|
||||
end
|
||||
|
||||
module ImportScripts::PhpBB3
|
||||
end
|
||||
|
||||
|
@ -585,6 +585,7 @@ class ImportScripts::Smf2 < ImportScripts::Base
|
||||
class Options
|
||||
class Error < StandardError
|
||||
end
|
||||
|
||||
class SettingsError < Error
|
||||
end
|
||||
|
||||
|
@ -8,6 +8,7 @@ class ThreadDetective
|
||||
def self.test_thread
|
||||
Thread.new { sleep 1 }
|
||||
end
|
||||
|
||||
def self.start(max_threads)
|
||||
@thread ||= Thread.new { self.new.monitor(max_threads) }
|
||||
|
||||
|
Reference in New Issue
Block a user