mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Add rubocop to our build. (#5004)
This commit is contained in:
@@ -30,7 +30,7 @@ class Upload < ActiveRecord::Base
|
||||
thumbnail(width, height).present?
|
||||
end
|
||||
|
||||
def create_thumbnail!(width, height, crop=false)
|
||||
def create_thumbnail!(width, height, crop = false)
|
||||
return unless SiteSetting.create_thumbnails?
|
||||
|
||||
opts = {
|
||||
@@ -75,7 +75,7 @@ class Upload < ActiveRecord::Base
|
||||
Upload.find_by(url: url)
|
||||
end
|
||||
|
||||
def self.migrate_to_new_scheme(limit=nil)
|
||||
def self.migrate_to_new_scheme(limit = nil)
|
||||
problems = []
|
||||
|
||||
if SiteSetting.migrate_to_new_scheme
|
||||
|
||||
Reference in New Issue
Block a user