Skip to content

Commit

Permalink
refactor: avoids unnecessary ignored arg
Browse files Browse the repository at this point in the history
  • Loading branch information
grzuy committed Feb 22, 2024
1 parent e5b5585 commit d3c588e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/mix/tasks/blend/get.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ defmodule Mix.Tasks.Blend.Get do
@impl true
def run(args) do
Blend.blends()
|> Enum.map(fn {blend_id, _deps} ->
|> Map.keys()
|> Enum.map(fn blend_id ->
IO.puts("Resolving blend #{blend_id}")

Blend.within(
Expand Down
3 changes: 2 additions & 1 deletion lib/mix/tasks/blend/update.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ defmodule Mix.Tasks.Blend.Update do
@impl true
def run(args) do
Blend.blends()
|> Enum.map(fn {blend_id, _deps} ->
|> Map.keys()
|> Enum.map(fn blend_id ->
IO.puts("Updating blend #{blend_id}")

Blend.within(
Expand Down

0 comments on commit d3c588e

Please sign in to comment.