Skip to content

Commit

Permalink
updated to verbose options
Browse files Browse the repository at this point in the history
  • Loading branch information
muschellij2 committed Jun 23, 2017
1 parent c22ae7f commit 869f906
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: ghtravis
Type: Package
Title: Interfaces with GitHub API and Travis
Version: 0.5.4
Version: 0.5.4.1
Author: John Muschelli
Maintainer: John Muschelli <muschellij2@gmail.com>
Description: Interfaces and compares things on 'GitHub'
Expand Down
2 changes: 1 addition & 1 deletion R/latest_release_with_binary.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ latest_release_with_binary = function(repo,

ddf = df
ddf = ddf[ grep(sys_ext(), ddf$asset_name, fixed = TRUE),]
if (!(ref %in% "master")) {
if (!(ref %in% c("master", ""))) {
if (!(ref %in% ddf$commit.sha)) {
warning(paste0("SHA was given, but no release associated",
" with it!, not installing, returning NA"))
Expand Down

0 comments on commit 869f906

Please sign in to comment.