Skip to content

Commit cb9aacc

Browse files
Updated formatting with cargo fmt
1 parent a24b69b commit cb9aacc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/webserver/routing.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,10 @@ where
119119
path.push(INDEX);
120120
match find_file_or_not_found(&path, SQL_EXTENSION, store).await {
121121
Ok(NotFound) => {
122-
let target_sql = path.parent().unwrap_or_else(|| Path::new("/")).join("_.sql");
122+
let target_sql = path
123+
.parent()
124+
.unwrap_or_else(|| Path::new("/"))
125+
.join("_.sql");
123126
if store.contains(&target_sql).await? {
124127
Ok(Execute(target_sql))
125128
} else {

0 commit comments

Comments
 (0)