Skip to content

Commit

Permalink
update navigate_remote
Browse files Browse the repository at this point in the history
  • Loading branch information
yonicd committed Jun 12, 2017
1 parent d06c0bb commit a7b6f88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/navigate_remote.R
Expand Up @@ -27,7 +27,8 @@ navigate_remote <- function(path=getwd(), branch='master', vcs='github', output=
switch(output,
jsTree={
tree.args$obj = pathout
tree.args$remote_repo = ifelse(vcs%in%c('github','git'),path,NULL)
tree.args$remote_repo = ifelse(vcs%in%c('github','git','bitbucket'),path,NULL)
tree.args$vcs=vcs
tree.args=c(tree.args,output.opts)
do.call(jsTree::jsTree,tree.args)
},
Expand Down

0 comments on commit a7b6f88

Please sign in to comment.