Skip to content

Commit

Permalink
chore(scheduler): apply another clippy suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
etolbakov committed May 2, 2024
1 parent 4557143 commit f6fcfda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ballista-cli/src/exec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ pub async fn exec_from_lines(
let line = line.trim_end();
query.push_str(line);
if line.ends_with(';') {
match exec_and_print(ctx, print_options, query).await {
match exec_and_print(ctx, print_options, query.clone()).await {
Ok(_) => {}
Err(err) => println!("{err:?}"),
}
query = "".to_owned();
"".clone_into(&mut query);
} else {
query.push('\n');
}
Expand Down

0 comments on commit f6fcfda

Please sign in to comment.