Skip to content

Commit

Permalink
error fix roc-lang/roc#7548, basic-cli link update
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton-4 committed Jan 28, 2025
1 parent b10860e commit 9cc746c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion build.roc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
app [main!] {
cli: platform "https://github.com/roc-lang/basic-cli/releases/download/0.19.0/bi5zubJ-_Hva9vxxPq4kNx4WHX6oFs8OP6Ad0tCYlrY.tar.br",
cli: platform "https://github.com/roc-lang/basic-cli/releases/download/0.19.0/Hj-J_zxz7V9YurCSTFcFdu6cQJie4guzsPMUi5kBYUk.tar.br",
weaver: "https://github.com/smores56/weaver/releases/download/0.6.0/4GmRnyE7EFjzv6dDpebJoWWwXV285OMt4ntHIc6qvmY.tar.br",
}

Expand Down
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion platform/MultipartFormData.roc
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ parse_content_f = |{ upper, lower }|
List.starts_with(bytes, to_search_upper)
or List.starts_with(bytes, to_search_lower)
then
next_line_start = after_search |> List.find_first_index?(|b| b == '\r')
next_line_start = after_search |> List.find_first_index(|b| b == '\r')?

Ok(
{
Expand Down
2 changes: 1 addition & 1 deletion platform/Path.roc
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ read_utf8! : Path => Result Str [FileReadErr Path IOErr, FileReadUtf8Err Path _]
read_utf8! = |path|
bytes =
Host.file_read_bytes!(InternalPath.to_bytes(path))
|> Result.map_err?(|read_err| FileReadErr(path, InternalIOErr.handle_err(read_err)))
|> Result.map_err(|read_err| FileReadErr(path, InternalIOErr.handle_err(read_err)))?

Str.from_utf8(bytes)
|> Result.map_err(|err| FileReadUtf8Err(path, err))
Expand Down

0 comments on commit 9cc746c

Please sign in to comment.