Skip to content

Commit

Permalink
Properly remove the hash part of the url
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed May 2, 2015
1 parent e51f437 commit 3ea135b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion normalize-git-url.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = function normalize (u) {

// figure out what we should check out.
var checkout = parsed.hash && parsed.hash.substr(1) || "master"
parsed.hash = ""
parsed.hash = null

u = url.format(parsed)
return {
Expand Down

0 comments on commit 3ea135b

Please sign in to comment.