Skip to content

Commit

Permalink
removed some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
f-sign authored and chrisirhc committed Jan 4, 2017
1 parent 1fc547a commit 91b8bec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/resolvers/exotics/hosted-git-resolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ export function explodeHostedGitFragment(fragment: string, reporter: Reporter):
fragment = preParts[1] + '@' + preParts[2];
}

// TODO: make sure this only has a length of 2
const parts = fragment.split(':');
//fragment = parts.pop();

if (parts.length == 3) { // protocol + host + folder
parts[1] = parts[1].indexOf('//') >= 0 ? parts[1].substr(2) : parts[1];
Expand Down

0 comments on commit 91b8bec

Please sign in to comment.