Skip to content

Commit

Permalink
Ooops... didn't set not_quiet flag properly
Browse files Browse the repository at this point in the history
  • Loading branch information
jqnatividad committed May 20, 2022
1 parent 72b2f9a commit 7ad93de
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/cmd/fetch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ pub fn run(argv: &[&str]) -> CliResult<()> {
util::prep_progress(&progress, record_count);
}

let not_quiet = args.flag_quiet;
let not_quiet = !args.flag_quiet;

#[allow(unused_assignments)]
let mut record = csv::ByteRecord::new();
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/foreach.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pub fn run(argv: &[&str]) -> CliResult<()> {
util::prep_progress(&progress, record_count);
}

let not_quiet = args.flag_quiet;
let not_quiet = !args.flag_quiet;

while rdr.read_byte_record(&mut record)? {
if not_quiet {
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/lua.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ pub fn run(argv: &[&str]) -> CliResult<()> {
util::prep_progress(&progress, record_count);
}

let not_quiet = args.flag_quiet;
let not_quiet = !args.flag_quiet;

let mut record = csv::StringRecord::new();

Expand Down
2 changes: 1 addition & 1 deletion src/cmd/python.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ pub fn run(argv: &[&str]) -> CliResult<()> {
util::prep_progress(&progress, record_count);
}

let not_quiet = args.flag_quiet;
let not_quiet = !args.flag_quiet;

let header_vec = util::safe_header_names(&headers, true);

Expand Down
2 changes: 1 addition & 1 deletion src/cmd/validate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ pub fn run(argv: &[&str]) -> CliResult<()> {
util::prep_progress(&progress, record_count);
}

let not_quiet = args.flag_quiet;
let not_quiet = !args.flag_quiet;

// parse and compile supplied JSON Schema
let (schema_json, schema_compiled): (Value, JSONSchema) =
Expand Down

0 comments on commit 7ad93de

Please sign in to comment.