Skip to content

Commit

Permalink
jsonp: convert manual unwrap_or_default
Browse files Browse the repository at this point in the history
  • Loading branch information
jqnatividad committed Jun 15, 2024
1 parent c12ad87 commit 0c26de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/jsonp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ pub fn run(argv: &[&str]) -> CliResult<()> {
.with_date_format(args.flag_date_format.clone())
.with_time_format(args.flag_time_format.clone())
.with_float_precision(args.flag_float_precision)
.with_null_value(args.flag_wnull_value.clone().unwrap_or("".to_string()))
.with_null_value(args.flag_wnull_value.clone().unwrap_or_default())
.include_bom(util::get_envvar_flag("QSV_OUTPUT_BOM"))
.finish(&mut df)?;
Ok(())
Expand Down

0 comments on commit 0c26de9

Please sign in to comment.