Fix job count detection

Change-Id: If07b15a71a4c0b13938069c19bfa8696312d5717
This commit is contained in:
Dmitry Ilyin 2016-03-11 15:51:55 +03:00
parent 58783c8d5c
commit 80591be766
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ module Noop
# @return [Integer]
def parallel_run
return @parallel_run if @parallel_run
if options[:parallel_run] = 'auto'
if options[:parallel_run] == 'auto'
@parallel_run = Parallel.processor_count
debug "Using parallel run count: #{@parallel_run}"
return @parallel_run