diff options
author | Douwe Maan <douwe@gitlab.com> | 2016-03-03 14:43:34 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2016-03-03 14:43:34 +0000 |
commit | b4537bf0766f07a8e1bc91cc93e59023ba9341ba (patch) | |
tree | a6d40182e6245822fcf55c6506dd2ce12abb9ae1 | |
parent | 6d7ccca3310a7728b79e3717eeaf7cf1ae905b12 (diff) | |
download | gitlab-shell-b4537bf0766f07a8e1bc91cc93e59023ba9341ba.tar.gz |
Remove redundant `|| false`
-rw-r--r-- | lib/gitlab_projects.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab_projects.rb b/lib/gitlab_projects.rb index 4f26d45..82a16fc 100644 --- a/lib/gitlab_projects.rb +++ b/lib/gitlab_projects.rb @@ -137,7 +137,7 @@ class GitlabProjects timeout = (ARGV.shift || 120).to_i # fetch with --force ? - forced = (ARGV.shift == '--force' || false) + forced = (ARGV.shift == '--force') $logger.info "Fetching remote #{@name} for project #{@project_name}." cmd = %W(git --git-dir=#{full_path} fetch #{@name} --tags) |