From 91b8becd8fe12e2d62d61f604027049c064c2e11 Mon Sep 17 00:00:00 2001 From: Flavio Signorelli Date: Wed, 16 Nov 2016 11:22:18 +0000 Subject: [PATCH] removed some comments --- src/resolvers/exotics/hosted-git-resolver.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/resolvers/exotics/hosted-git-resolver.js b/src/resolvers/exotics/hosted-git-resolver.js index 31a5a2510b..0be7d9c49e 100644 --- a/src/resolvers/exotics/hosted-git-resolver.js +++ b/src/resolvers/exotics/hosted-git-resolver.js @@ -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];