Skip to content

Commit

Permalink
Fix leftover wrong column name (#12937)
Browse files Browse the repository at this point in the history
# Description

Small fixup for nushell/nushell#12930
  • Loading branch information
kubouch committed May 22, 2024
1 parent ac4125f commit 64afb52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/nu-protocol/src/debugger/profiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 64afb52

Please sign in to comment.