Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lmcmicu committed Dec 17, 2023
1 parent 289213f commit 80b495f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ impl Valve {
let mut once_dropped = false;
for (i, table) in sorted_table_list.iter().enumerate() {
if self.table_has_changed(*table).await? {
if self.verbose {
if self.interactive {
// TODO: Prompt the user to confirm whether she wants to automatically drop any
// flagged tables.
}
Expand Down Expand Up @@ -1002,7 +1002,7 @@ impl Valve {
drop_list
};

if self.verbose {
if self.interactive {
let auto_drops = drop_list
.iter()
.filter(|t| !tables.contains(t) && !block_on(self.table_exists(t)).unwrap())
Expand Down Expand Up @@ -1061,7 +1061,7 @@ impl Valve {
truncate_list
};

if self.verbose {
if self.interactive {
let auto_truncates = truncate_list
.iter()
.filter(|t| !tables.contains(t) && !block_on(self.table_exists(t)).unwrap())
Expand Down

0 comments on commit 80b495f

Please sign in to comment.