Skip to content

Commit

Permalink
Fix a couple warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dusty-phillips committed Aug 28, 2024
1 parent 9a48840 commit 3a5b227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/project.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ fn load_dependency_list(
) -> Result(dict.Dict(String, String), tom.GetError) {
case tom.get_table(toml, ["dependencies"]) {
Ok(dependencies) -> {
use state, key, value <- dict.fold(dependencies, Ok(dict.new()))
use state, key, _value <- dict.fold(dependencies, Ok(dict.new()))
use state_dict <- result.try(state)
use string_value <- result.try(tom.get_string(dependencies, [key]))
Ok(dict.insert(state_dict, key, string_value))
Expand Down

0 comments on commit 3a5b227

Please sign in to comment.