1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-07-08 13:35:00 +00:00

Modify rustfmt file

This commit is contained in:
Jake Howard 2021-04-06 21:54:42 +01:00
parent 93c881a7a9
commit 3ab90259f2
No known key found for this signature in database
GPG key ID: 57AFB45680EDD477
30 changed files with 169 additions and 395 deletions

View file

@ -314,9 +314,7 @@ mod sqlite_migrations {
// Turn on WAL in SQLite
if crate::CONFIG.enable_db_wal() {
diesel::sql_query("PRAGMA journal_mode=wal")
.execute(&connection)
.expect("Failed to turn on WAL");
diesel::sql_query("PRAGMA journal_mode=wal").execute(&connection).expect("Failed to turn on WAL");
}
embedded_migrations::run_with_output(&connection, &mut std::io::stdout())?;