Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

Commit

Permalink
Adding support for gh is --browser.
Browse files Browse the repository at this point in the history
  • Loading branch information
henvic committed Mar 5, 2015
1 parent 0d402eb commit 626990b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/cmds/issue.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,10 @@ Issue.prototype.run = function() {
};

Issue.prototype.browser = function(user, repo, number) {
if (!number) {
number = '';
}

openUrl('https://github.com/' + user + '/' + repo + '/issues/' + number);
};

Expand Down

0 comments on commit 626990b

Please sign in to comment.