Skip to content

Commit d00acf0

Browse files
committed
style: mix credo
1 parent ea306be commit d00acf0

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

lib/opencov/services/github/comments.ex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ defmodule Librecov.Services.Github.Comments do
3131
)
3232

3333
e ->
34-
IO.inspect(e)
3534
raise(
3635
"Error processing add_pr_comment(pr_message, #{token}, #{owner}, #{repo}, #{branch})."
3736
)

web/managers/build_manager.ex

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,8 @@ defmodule Librecov.BuildManager do
3636
coverage = build |> Repo.preload(:jobs) |> compute_coverage
3737
build = Repo.update!(change(build, coverage: coverage))
3838

39-
if(
40-
build.branch == "master" or build.branch == "main" or build.branch == "" or
41-
is_nil(build.branch)
42-
) do
39+
if build.branch == "master" or build.branch == "main" or build.branch == "" or
40+
is_nil(build.branch) do
4341
Librecov.ProjectManager.update_coverage(Repo.preload(build, :project).project)
4442
end
4543

0 commit comments

Comments
 (0)