diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2014-12-22 10:03:52 +0100 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2014-12-22 10:03:52 +0100 |
commit | 18d9172edc3bb3a1cfd7640ea0555e887ce5bde5 (patch) | |
tree | f2e21bec5337db7eda2c5d3e6fc50b5c48543264 /lib | |
parent | 55319c0a7aa0dbcdf3a8b73fc60447a353c5beec (diff) | |
download | gitlab-ce-18d9172edc3bb3a1cfd7640ea0555e887ce5bde5.tar.gz |
Use a different name of the method to check if sanitize is enabled in check task.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/gitlab/check.rake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake index 1da5f4b980f..43115915de1 100644 --- a/lib/tasks/gitlab/check.rake +++ b/lib/tasks/gitlab/check.rake @@ -786,14 +786,14 @@ namespace :gitlab do end def sanitized_message(project) - if sanitize + if should_sanitize? "#{project.namespace_id.to_s.yellow}/#{project.id.to_s.yellow} ... " else "#{project.name_with_namespace.yellow} ... " end end - def sanitize + def should_sanitize? if ENV['SANITIZE'] == "true" true else |