diff options
| author | mo khan <mo.khan@gmail.com> | 2020-06-07 15:55:58 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-06-07 15:55:58 -0600 |
| commit | 9009375d9892b15dd0d4898dcdea2a6308f93d58 (patch) | |
| tree | 80bf906d81236b805c549ae44729d64982a035b6 /lib | |
| parent | f770ac16591d322afd91074099d1c2272f8ed193 (diff) | |
Default to 1 thread
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/spandx/cli/commands/scan.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spandx/cli/commands/scan.rb b/lib/spandx/cli/commands/scan.rb index 0370630..a541aa4 100644 --- a/lib/spandx/cli/commands/scan.rb +++ b/lib/spandx/cli/commands/scan.rb @@ -28,7 +28,7 @@ module Spandx def thread_count count = @options[:threads].to_i - count.positive? ? count : Etc.nprocessors + count.positive? ? count : 1 end def each_file |
