Skip to content

Commit f82f6d8

Browse files
committed
Solve warnings on compile for function calls
1 parent a3cb648 commit f82f6d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/git_pair/actions.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ defmodule GitPair.Actions do
4646
end
4747

4848
def status() do
49-
("Pairing with: \n\n" <> Enum.join(collaborators, "\n"))
49+
("Pairing with: \n\n" <> Enum.join(collaborators(), "\n"))
5050
|> output()
5151
end
5252

@@ -57,7 +57,7 @@ defmodule GitPair.Actions do
5757
end
5858

5959
def _modify_commit_msg(path) do
60-
co_authors_message = IO.iodata_to_binary(make_co_authored_by)
60+
co_authors_message = IO.iodata_to_binary(make_co_authored_by())
6161

6262
File.open(path, [:append])
6363
|> elem(1)
@@ -79,7 +79,7 @@ defmodule GitPair.Actions do
7979

8080
defp make_co_authored_by() do
8181
"\n" <>
82-
(Enum.map(collaborators, fn collaborator ->
82+
(Enum.map(collaborators(), fn collaborator ->
8383
"Co-authored-by: #{collaborator} <#{collaborator}@users.noreply.github.com>"
8484
end)
8585
|> Enum.join("\n"))

0 commit comments

Comments
 (0)