Skip to content

Commit

Permalink
refactor: stats - csv_to_jsonl - pass stats_pathbuf by reference in…
Browse files Browse the repository at this point in the history
…stead of by value
  • Loading branch information
jqnatividad committed Nov 19, 2024
1 parent 642fd74 commit 0b072c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ pub fn run(argv: &[&str]) -> CliResult<()> {
// save the stats data to "<FILESTEM>.stats.csv.data.jsonl"
if write_stats_jsonl {
stats_pathbuf.set_extension("data.jsonl");
util::csv_to_jsonl(&currstats_filename, &get_stats_data_types(), stats_pathbuf)?;
util::csv_to_jsonl(&currstats_filename, &get_stats_data_types(), &stats_pathbuf)?;
}
}
}
Expand Down

0 comments on commit 0b072c8

Please sign in to comment.