Fix leftover wrong column name (#12937)

# Description

Small fixup for https://github.com/nushell/nushell/pull/12930
This commit is contained in:
Jakub Žádník 2024-05-23 00:24:22 +03:00 committed by GitHub
parent ac4125f8ed
commit 64afb52ffa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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));