diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-27 11:15:08 +0200 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-27 11:15:08 +0200 |
commit | ac55373ff39674782e914b045469ae49c77e814a (patch) | |
tree | 46350b7a41ebbdd542a8138332fa4854f1615ddb /db | |
parent | fd338d67159e6dffaf54fd42fbeddb3b17e4d49f (diff) | |
download | gitlab-ce-ac55373ff39674782e914b045469ae49c77e814a.tar.gz |
Replace empty? || nil? with blank?.
Diffstat (limited to 'db')
-rw-r--r-- | db/fixtures/production/001_admin.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/fixtures/production/001_admin.rb b/db/fixtures/production/001_admin.rb index 21c10f31923..f84d0903910 100644 --- a/db/fixtures/production/001_admin.rb +++ b/db/fixtures/production/001_admin.rb @@ -1,4 +1,4 @@ -password = if ENV['GITLAB_ROOT_PASSWORD'].nil? || ENV['GITLAB_ROOT_PASSWORD'].empty? +password = if ENV['GITLAB_ROOT_PASSWORD'].blank? "5iveL!fe" else ENV['GITLAB_ROOT_PASSWORD'] |