Skip to content

Commit 5025320

Browse files
committed
Update files for Gleam version
1 parent 7db34f2 commit 5025320

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

manifest.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ packages = [
2525

2626
[requirements]
2727
birdie = { version = ">= 1.2.1 and < 2.0.0" }
28-
gleam_json = { version = ">= 2.0.0 and < 3.0.0" }
29-
gleam_stdlib = { version = ">= 0.44.0 and < 2.0.0" }
28+
gleam_json = { version = ">= 1.0.0 and < 3.0.0" }
29+
gleam_stdlib = { version = ">= 0.34.0 and < 2.0.0" }
3030
gleeunit = { version = ">= 1.0.0 and < 2.0.0" }
3131
justin = { version = ">= 1.0.1 and < 2.0.0" }
3232
pprint = { version = ">= 1.0.3 and < 2.0.0" }

src/json_typedef.gleam

+4-3
Original file line numberDiff line numberDiff line change
@@ -379,9 +379,10 @@ fn push_path(
379379
result: Result(t, List(dynamic.DecodeError)),
380380
segment: String,
381381
) -> Result(t, List(dynamic.DecodeError)) {
382-
result.map_error(result, list.map(_, fn(e) {
383-
dynamic.DecodeError(..e, path: [segment, ..e.path])
384-
}))
382+
result.map_error(
383+
result,
384+
list.map(_, fn(e) { dynamic.DecodeError(..e, path: [segment, ..e.path]) }),
385+
)
385386
}
386387

387388
fn get_metadata(

0 commit comments

Comments
 (0)