diff --git a/index.js b/index.js index bce8dd2..0af76c1 100644 --- a/index.js +++ b/index.js @@ -23,7 +23,7 @@ function getBranch(str, obj) { if (!branch && obj.hash && obj.hash.charAt(0) === '#') { branch = obj.hash.slice(1); } - return branch || 'master'; + return branch; } function trimSlash(path) {