mirror of
https://github.com/nushell/nushell.git
synced 2024-11-25 09:53:43 +01:00
Fix leftover wrong column name (#12937)
# Description Small fixup for https://github.com/nushell/nushell/pull/12930
This commit is contained in:
parent
ac4125f8ed
commit
64afb52ffa
@ -310,7 +310,7 @@ fn collect_data(
|
|||||||
if profiler.collect_lines {
|
if profiler.collect_lines {
|
||||||
if let Some((fname, line_num)) = find_file_of_span(engine_state, element.element_span) {
|
if let Some((fname, line_num)) = find_file_of_span(engine_state, element.element_span) {
|
||||||
row.push("file", Value::string(fname, profiler_span));
|
row.push("file", Value::string(fname, profiler_span));
|
||||||
row.push("line_num", Value::int(line_num as i64, profiler_span));
|
row.push("line", Value::int(line_num as i64, profiler_span));
|
||||||
} else {
|
} else {
|
||||||
row.push("file", Value::nothing(profiler_span));
|
row.push("file", Value::nothing(profiler_span));
|
||||||
row.push("line", Value::nothing(profiler_span));
|
row.push("line", Value::nothing(profiler_span));
|
||||||
|
Loading…
Reference in New Issue
Block a user