From 2009db632f0b440537a6a69dc4017bc7d9acc9a7 Mon Sep 17 00:00:00 2001 From: Salim B Date: Wed, 26 Feb 2025 16:52:47 +0100 Subject: [PATCH] style: rm trailing newlines --- R/repo.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/R/repo.R b/R/repo.R index 09661b278..40517643f 100644 --- a/R/repo.R +++ b/R/repo.R @@ -65,7 +65,7 @@ package_repo <- function(pkg) { # Use metadata if available repo <- config_pluck_list(pkg, "repo") url <- config_pluck_list(pkg, "repo.url") - + if (!is.null(url)) { return(repo) @@ -117,13 +117,13 @@ gha_current_branch <- function() { if (ref != "") { return(ref) } - + # Set everywhere but might not be a branch ref <- Sys.getenv("GITHUB_REF_NAME") if (ref != "") { return(ref) } - + "HEAD" }