diff --git a/lib/git.js b/lib/git.js index 0b1e91e..0cda2c9 100644 --- a/lib/git.js +++ b/lib/git.js @@ -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}`