Make SQLite check in gitlab:check more robust
This commit is contained in:
parent
0e15270b75
commit
8ef7b9b6d1
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ namespace :gitlab do
|
|||
|
||||
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
|
||||
else
|
||||
puts "yes".red
|
||||
|
|
Loading…
Reference in a new issue