diff --git a/sqlx-cli/src/migrate.rs b/sqlx-cli/src/migrate.rs index ed503c2a45..e00f6de651 100644 --- a/sqlx-cli/src/migrate.rs +++ b/sqlx-cli/src/migrate.rs @@ -474,7 +474,8 @@ pub fn build_script(migration_source: &str, force: bool) -> anyhow::Result<()> { fn main() {{ // trigger recompilation when a new migration is added println!("cargo:rerun-if-changed={migration_source}"); -}}"#, +}} +"#, ); fs::write("build.rs", contents)?;