Skip to content

Commit 1d999fd

Browse files
committed
style: Fix formatting
1 parent b750249 commit 1d999fd

3 files changed

Lines changed: 7 additions & 14 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ AGENTS.md
2424
GEMINI.md
2525

2626
# Local documentation (not for repo)
27-
docs/
27+
docs/.claude/

src/commands/init.rs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,9 @@ pub async fn init(
111111
// Get filtered tables for the source database (if --include-tables was specified)
112112
let filtered_tables = filter.tables_for_database(&source_db_name);
113113

114-
let preflight_result = crate::preflight::run_preflight_checks(
115-
source_url,
116-
target_url,
117-
filtered_tables,
118-
)
119-
.await?;
114+
let preflight_result =
115+
crate::preflight::run_preflight_checks(source_url, target_url, filtered_tables)
116+
.await?;
120117

121118
preflight_result.print();
122119

src/filters.rs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -553,13 +553,9 @@ mod tests {
553553

554554
#[test]
555555
fn test_tables_for_database_returns_none_for_unmatched_db() {
556-
let filter = ReplicationFilter::new(
557-
None,
558-
None,
559-
Some(vec!["otherdb.users".to_string()]),
560-
None,
561-
)
562-
.unwrap();
556+
let filter =
557+
ReplicationFilter::new(None, None, Some(vec!["otherdb.users".to_string()]), None)
558+
.unwrap();
563559

564560
let tables = filter.tables_for_database("mydb");
565561
assert!(tables.is_none());

0 commit comments

Comments
 (0)