File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ defmodule Librecov.Templates.CommentTemplate do
44 alias Librecov.Endpoint
55 alias Librecov.JobManager
66 alias Librecov.File
7- alias Librecov.Job
8- alias Librecov.Repo
97 import Librecov.Router.Helpers
108 import Librecov.Helpers.Coverage
119
Original file line number Diff line number Diff line change @@ -73,11 +73,11 @@ defmodule Librecov.BuildManager do
7373 build = query_for_project ( project . id ) |> order_by_build_number |> Repo . first ( )
7474 if ( build , do: build . build_number + 1 , else: 1 )
7575 end
76+ defp fetch_build_number ( _ , number ) , do: number
7677
7778 defp fetch_job_number ( x ) when x in [ nil , "" ] , do: nil
7879 defp fetch_job_number ( x ) , do: x
7980
80- defp fetch_build_number ( _ , number ) , do: number
8181
8282 defp add_previous_values ( changeset ) do
8383 project_id = changeset . data . project_id || get_change ( changeset , :project_id )
You can’t perform that action at this time.
0 commit comments