Skip to content

Commit ea24ec5

Browse files
authored
rule: fix typo in mod name (#409)
bad_drop_database -> ban_drop_database
1 parent 08dc70e commit ea24ec5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

linter/src/rules/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ pub mod adding_not_null_field;
66
pub use adding_not_null_field::*;
77
pub mod adding_primary_key_constraint;
88
pub use adding_primary_key_constraint::*;
9-
pub mod bad_drop_database;
10-
pub use bad_drop_database::*;
9+
pub mod ban_drop_database;
10+
pub use ban_drop_database::*;
1111
pub mod changing_column_type;
1212
pub use changing_column_type::*;
1313
pub mod constraint_missing_not_valid;

linter/src/rules/snapshots/squawk_linter__rules__bad_drop_database__test_rules__ban_drop_database.snap renamed to linter/src/rules/snapshots/squawk_linter__rules__ban_drop_database__test_rules__ban_drop_database.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
source: linter/src/rules/bad_drop_database.rs
2+
source: linter/src/rules/ban_drop_database.rs
33
expression: lint_sql(sql)
44
---
55
[

0 commit comments

Comments
 (0)