Skip to content

Commit

Permalink
Merge pull request #112 from kamidon/issue-110-fix
Browse files Browse the repository at this point in the history
Verify repo hosted by github before checking API availability
  • Loading branch information
vermiculus authored Jul 30, 2017
2 parents 7fd7343 + c65212a commit e361837
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions magithub-core.el
Original file line number Diff line number Diff line change
Expand Up @@ -299,9 +299,9 @@ See /.github/ISSUE_TEMPLATE.md in this repository."
(defun magithub-usable-p ()
"Non-nil if Magithub should do its thing."
(and (magithub-enabled-p)
(magithub-github-repository-p)
(or (magithub-offline-p)
(magithub--api-available-p))
(magithub-github-repository-p)))
(magithub--api-available-p))))

(defun magithub-error (err-message tag &optional trace)
"Report a Magithub error."
Expand Down

0 comments on commit e361837

Please sign in to comment.