This commit is contained in:
@@ -2130,6 +2130,7 @@ run_command = function(command, opts)
|
|||||||
local runner = options.runner
|
local runner = options.runner
|
||||||
local parser_state = {}
|
local parser_state = {}
|
||||||
parser_state.scope_kind = options.scope_kind
|
parser_state.scope_kind = options.scope_kind
|
||||||
|
parser_state.spec_scope = options.spec_scope
|
||||||
parser_state.aggregate_results = nil
|
parser_state.aggregate_results = nil
|
||||||
parser_state.result_start_line = nil
|
parser_state.result_start_line = nil
|
||||||
parser_state.result_end_line = nil
|
parser_state.result_end_line = nil
|
||||||
@@ -2464,6 +2465,7 @@ function M.run_nearest()
|
|||||||
track_scope = true,
|
track_scope = true,
|
||||||
runner = runner,
|
runner = runner,
|
||||||
scope_kind = "nearest",
|
scope_kind = "nearest",
|
||||||
|
spec_scope = spec.scope,
|
||||||
output_parser = parser or runner.parse_results,
|
output_parser = parser or runner.parse_results,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user