Remove intermediate variable
This commit is contained in:
parent
3b7c5af431
commit
a7ca4bc300
@ -101,8 +101,7 @@ class Step
|
||||
end
|
||||
Process.wait(pid)
|
||||
|
||||
end_time = Time.now
|
||||
@time = end_time - start_time
|
||||
@time = Time.now - start_time
|
||||
|
||||
success = $?.success?
|
||||
@status = success ? :passed : :failed
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user