diff options
-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) |