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