From fe023c7327b04ecd74026de7878999dafa9c28d3 Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Wed, 9 Jun 2021 00:26:13 -0400 Subject: [PATCH] Apply suggestions from code review --- src/coveralls.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coveralls.jl b/src/coveralls.jl index 82d5d32..0591895 100644 --- a/src/coveralls.jl +++ b/src/coveralls.jl @@ -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"]