cargo sqlx prepare: delete query-*.json files as they're read

This commit is contained in:
Austin Bonander
2020-05-19 20:10:46 -07:00
committed by Ryan Leckey
parent 07639a61ac
commit 119167e13a

View File

@@ -121,6 +121,9 @@ fn run_prepare_step(cargo_args: Vec<String>) -> anyhow::Result<QueryData> {
path.display()
)
}
// lazily remove the file, we don't care too much if we can't
let _ = fs::remove_file(&path);
}
Ok(data)