Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
DilumAluthge committed Jun 9, 2021
1 parent ace4445 commit fe023c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coveralls.jl
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ module Coveralls

# get the name of the branch if not a pull request
if get(ENV, "CI_PULL_REQUEST", "false") == "false"
data["git"]["branch"] = String(split(ENV["GIT_BRANCH"], "/")[2])
data["git"]["branch"] = split(ENV["GIT_BRANCH"], "/")[2]
end
elseif haskey(ENV, "GITHUB_ACTION")
data["service_job_id"] = ENV["GITHUB_RUN_ID"]
Expand Down

0 comments on commit fe023c7

Please sign in to comment.