提交 9345ca33 编写于 作者: R Robert Schilling

Merge pull request #7877 from cirosantilli/empty-nil-blank

Replace empty? || nil? with blank?.
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']
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册