Skip to content

Commit

Permalink
minor reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
jqnatividad committed Apr 3, 2022
1 parent e1d793e commit 6d71b0e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cmd/enumerate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ pub fn run(argv: &[&str]) -> CliResult<()> {
while rdr.read_byte_record(&mut record)? {
if let Some(constant_value) = &args.flag_constant {
if constant_value == NULL_VALUE {
record.push_field(b"")
record.push_field(b"");
} else {
record.push_field(constant_value.as_bytes());
}
Expand All @@ -132,6 +132,5 @@ pub fn run(argv: &[&str]) -> CliResult<()> {
}
wtr.write_byte_record(&record)?;
}

Ok(wtr.flush()?)
}

0 comments on commit 6d71b0e

Please sign in to comment.