summaryrefslogtreecommitdiff
path: root/lib/gitlab/downtime_check.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/downtime_check.rb')
-rw-r--r--lib/gitlab/downtime_check.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/downtime_check.rb b/lib/gitlab/downtime_check.rb
index ab9537ed7d7..941244694e2 100644
--- a/lib/gitlab/downtime_check.rb
+++ b/lib/gitlab/downtime_check.rb
@@ -50,8 +50,8 @@ module Gitlab
# Returns the class for the given migration file path.
def class_for_migration_file(path)
- File.basename(path, File.extname(path)).split('_', 2).last.camelize.
- constantize
+ File.basename(path, File.extname(path)).split('_', 2).last.camelize
+ .constantize
end
# Returns true if the given migration can be performed without downtime.