Skip to content

Commit

Permalink
Apply clippy, replace ";" to
Browse files Browse the repository at this point in the history
  • Loading branch information
panarch committed Apr 9, 2022
1 parent 1738483 commit 7374019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ where
pub fn load<P: AsRef<Path>>(&mut self, filename: P) -> Result<()> {
let mut sqls = String::new();
File::open(filename)?.read_to_string(&mut sqls)?;
for sql in sqls.split(";").filter(|sql| !sql.trim().is_empty()) {
for sql in sqls.split(';').filter(|sql| !sql.trim().is_empty()) {
match self.glue.execute(sql) {
Ok(payload) => self.print.payload(payload)?,
Err(e) => {
Expand Down

0 comments on commit 7374019

Please sign in to comment.