This commit is contained in:
Jackson Kearl 2020-05-26 02:58:15 -07:00
parent 0d1d37012a
commit fb80143165

View file

@ -142,8 +142,8 @@ async function getRemotes(fileService: IFileService, textFileService: ITextFileS
const RemoteMatcher = /^\s*url\s*=\s*(?:git@|https:\/\/)github\.com(?::|\/)([^.]*)\.git\s*$/mg;
while (match = RemoteMatcher.exec(content)) {
const [domain, repo] = [match[1], match[2]];
if (domain && repo) {
const repo = match[1];
if (repo) {
domains.add(`https://github.com/${repo}/`);
}
}