From 70f6e02030df75cd89ff8fc1233e38ebcb1f0576 Mon Sep 17 00:00:00 2001 From: Morten Piibeleht Date: Mon, 15 Feb 2021 14:25:36 +1300 Subject: [PATCH] Remove unused fallback method for post_status In git_push we only use the method that passes the DeployConfig as the first positional argument, so this one is unnecessary. Potentially using this method in Documenter in the future is probably a bad idea, since it calls auto_detect_deploy_system() again, potentially introducing environment-dependent bugs. --- src/deployconfig.jl | 1 - 1 file changed, 1 deletion(-) diff --git a/src/deployconfig.jl b/src/deployconfig.jl index 3692276934..a1400a7675 100644 --- a/src/deployconfig.jl +++ b/src/deployconfig.jl @@ -99,7 +99,6 @@ This method must be supported by configs that push with HTTPS, see function authenticated_repo_url end post_status(cfg::Union{DeployConfig,Nothing}; kwargs...) = nothing -post_status(; kwargs...) = post_status(auto_detect_deploy_system(); kwargs...) marker(x) = x ? "✔" : "✘"