Skip to content

Commit b296d77

Browse files
committed
format(request): Reformat under latest Gleam formatting guidelines
1 parent 0ad6368 commit b296d77

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/request.gleam

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,14 @@ pub fn handle(request, connection) {
2828
Ok(content) ->
2929
wisp.html_response(
3030
string_builder.from_string(
31-
string.replace(content, "{{ MAYU_VERSION }}", case
32-
envoy.get("MAYU_VERSION")
33-
{
34-
Ok(version) -> "(v" <> version <> ")"
35-
Error(_) -> ""
36-
}),
31+
string.replace(
32+
content,
33+
"{{ MAYU_VERSION }}",
34+
case envoy.get("MAYU_VERSION") {
35+
Ok(version) -> "(v" <> version <> ")"
36+
Error(_) -> ""
37+
},
38+
),
3739
),
3840
200,
3941
)

0 commit comments

Comments
 (0)