mirror of
https://github.com/nushell/nushell
synced 2024-12-26 13:03:07 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ fn collect_data(
|
|||
if profiler.collect_lines {
|
||||
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("line_num", Value::int(line_num as i64, profiler_span));
|
||||
row.push("line", Value::int(line_num as i64, profiler_span));
|
||||
} else {
|
||||
row.push("file", Value::nothing(profiler_span));
|
||||
row.push("line", Value::nothing(profiler_span));
|
||||
|
|
Loading…
Reference in a new issue