Commit 8ef7b9b6d10bde1f513d678703fc209653087137

Authored by Riyad Preukschas
1 parent 0e15270b

Make SQLite check in gitlab:check more robust

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/tasks/gitlab/check.rake
@@ -57,7 +57,7 @@ namespace :gitlab do @@ -57,7 +57,7 @@ namespace :gitlab do
57 57
58 database_config_file = Rails.root.join("config", "database.yml") 58 database_config_file = Rails.root.join("config", "database.yml")
59 59
60 - unless File.read(database_config_file) =~ /sqlite/ 60 + unless File.read(database_config_file) =~ /adapter:\s+sqlite/
61 puts "no".green 61 puts "no".green
62 else 62 else
63 puts "yes".red 63 puts "yes".red