Commit 8ef7b9b6 authored by Riyad Preukschas's avatar Riyad Preukschas

Make SQLite check in gitlab:check more robust

parent 0e15270b
...@@ -57,7 +57,7 @@ namespace :gitlab do ...@@ -57,7 +57,7 @@ namespace :gitlab do
database_config_file = Rails.root.join("config", "database.yml") database_config_file = Rails.root.join("config", "database.yml")
unless File.read(database_config_file) =~ /sqlite/ unless File.read(database_config_file) =~ /adapter:\s+sqlite/
puts "no".green puts "no".green
else else
puts "yes".red puts "yes".red
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment