Skip to content

Commit

Permalink
Bitbucket's master branches are default
Browse files Browse the repository at this point in the history
  • Loading branch information
leo committed Nov 28, 2016
1 parent de0635e commit 7ae4532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/git.js
Expand Up @@ -18,7 +18,7 @@ const downloadRepo = async repoPath => {
url = `https://gitlab.com/${pathParts.main}/repository/archive.tar` + ref
break
case 'Bitbucket':
url = `https://bitbucket.org/${pathParts.main}/get/${pathParts.ref || 'master'}.zip`
url = `https://bitbucket.org/${pathParts.main}/get/${pathParts.ref || 'default'}.zip`
break
default:
url = `https://api.github.com/repos/${pathParts.main}/tarball/${pathParts.ref}`
Expand Down

0 comments on commit 7ae4532

Please sign in to comment.