Skip to content

Commit

Permalink
fix comma
Browse files Browse the repository at this point in the history
  • Loading branch information
delfrrr committed Aug 10, 2018
1 parent f73060c commit 70ed4e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/getPackageDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ function getPackageDetailsFromGitHub({ host, path, hash, protocol }, versionLoos
[owner, repo] = String(path).slice(1).replace(/\.git$/, '').split('/');
}
if (!owner || !repo) {
throw new Error(`Cannot parse github dependency url ${versionLoose}`)
throw new Error(`Cannot parse github dependency url ${versionLoose}`);
}
let ref = 'master';
if (hash && hash.slice(1)) {
Expand Down

0 comments on commit 70ed4e6

Please sign in to comment.