Skip to content

Commit

Permalink
Fix execution when --seed argument is not provided
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyazub committed Jul 10, 2023
1 parent 0c1e14a commit ce2ea87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/turbo_tests/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def self.run(opts = {})
verbose = opts.fetch(:verbose, false)
fail_fast = opts.fetch(:fail_fast, nil)
count = opts.fetch(:count, nil)
seed = opts.fetch(:seed, rand(0xFFFF).to_s)
seed = opts.fetch(:seed) || rand(0xFFFF).to_s
seed_used = !opts[:seed].nil?

if verbose
Expand Down

0 comments on commit ce2ea87

Please sign in to comment.