diff options
Diffstat (limited to 'db/migrate/20151023144219_remove_satellites.rb')
-rw-r--r-- | db/migrate/20151023144219_remove_satellites.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/db/migrate/20151023144219_remove_satellites.rb b/db/migrate/20151023144219_remove_satellites.rb index 2d1310b0208..4701817cd97 100644 --- a/db/migrate/20151023144219_remove_satellites.rb +++ b/db/migrate/20151023144219_remove_satellites.rb @@ -1,11 +1,11 @@ -require 'fileutils' +require "fileutils" class RemoveSatellites < ActiveRecord::Migration[4.2] def up - satellites = Gitlab.config['satellites'] + satellites = Gitlab.config["satellites"] return if satellites.nil? - satellites_path = satellites['path'] + satellites_path = satellites["path"] return if satellites_path.nil? FileUtils.rm_rf(satellites_path) |