Skip to content

Commit

Permalink
another round of Elixir 1.17 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
breunigs committed Jun 19, 2024
1 parent 126c334 commit ecd5326
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/mix/tasks/velo.videos.generate.ex
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ defmodule Mix.Tasks.Velo.Videos.Generate do
def run(["new"]) do
existing =
Video.Generator.all()
|> Enum.filter(& &1.rendered?)
|> Enum.filter(& &1.rendered?())
|> Enum.map(&{{&1.renderer(), &1.sources()}, true})
|> Enum.into(%{})

Expand Down
4 changes: 2 additions & 2 deletions lib/mix/tasks/velo.videos.render.ex
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ defmodule Mix.Tasks.Velo.Videos.Render do
banner = """
###########################################################
# Name: #{rendered.name}
# Hash: #{rendered.hash}
# Name: #{rendered.name()}
# Hash: #{rendered.hash()}
##########################################################
"""

Expand Down

0 comments on commit ecd5326

Please sign in to comment.