fix(io): validate view later

This commit is contained in:
Barrett Ruth 2025-11-06 01:46:10 -05:00
parent 00987bb0ff
commit 71863fde7f

View file

@ -440,8 +440,6 @@ function M.run_io_view(test_indices_arg, debug, mode)
end
end
M.ensure_io_view()
local run = require('cp.runner.run')
if mode == 'combined' then
@ -484,6 +482,10 @@ function M.run_io_view(test_indices_arg, debug, mode)
end
end
if not test_indices_arg then
M.ensure_io_view()
end
local io_state = state.get_io_view_state()
if not io_state then
return