From 64afb52ffaa68ac761b5f5d05d51d3fb1547084b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C5=BD=C3=A1dn=C3=ADk?= Date: Thu, 23 May 2024 00:24:22 +0300 Subject: [PATCH] Fix leftover wrong column name (#12937) # Description Small fixup for https://github.com/nushell/nushell/pull/12930 --- crates/nu-protocol/src/debugger/profiler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-protocol/src/debugger/profiler.rs b/crates/nu-protocol/src/debugger/profiler.rs index b95bf571b4..0fa2d4f3aa 100644 --- a/crates/nu-protocol/src/debugger/profiler.rs +++ b/crates/nu-protocol/src/debugger/profiler.rs @@ -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));