Skip to content

Commit

Permalink
fix(install): use gitUrl instead of httpsUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Van Camp committed Mar 1, 2016
1 parent 8176de5 commit 8c483a3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions commands/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,8 @@ function action(repo, options) {
var parsed = npa(repo);
var repoUrl = null;

console.log(parsed);
return;

if (parsed.type === 'hosted') {
repoUrl = parsed.hosted.httpsUrl;
repoUrl = parsed.hosted.gitUrl;
} else {
console.error('Please enter a valid git url (https) or GitHub username/repo pair.');
return;
Expand Down

0 comments on commit 8c483a3

Please sign in to comment.