Skip to content

Commit

Permalink
Fix URL warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Sep 19, 2024
1 parent 58c0549 commit 15dfbcb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ Description: Simple git client for R based on 'libgit2' <https://libgit2.org> wi
User credentials are shared with command line 'git' through the git-credential
store and ssh keys stored on disk or ssh-agent.
License: MIT + file LICENSE
URL: https://docs.ropensci.org/gert/ https://ropensci.r-universe.dev/gert
URL: https://docs.ropensci.org/gert/
https://ropensci.r-universe.dev/gert
BugReports: https://github.com/r-lib/gert/issues
Imports:
askpass,
Expand Down
2 changes: 1 addition & 1 deletion R/credentials.R
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,6 @@ remote_to_host <- function(repo, remote){

url_to_host <- function(url){
#credentials:::parse_url(url, allow_ssh = TRUE)[['host']]
parse_url <- getFromNamespace('parse_url', 'credentials')
parse_url <- utils::getFromNamespace('parse_url', 'credentials')
parse_url(url, allow_ssh = TRUE)[['host']]
}

0 comments on commit 15dfbcb

Please sign in to comment.