Correct subset of tool result for matching

This commit is contained in:
Dannon Baker
2021-02-12 16:33:02 -05:00
parent 13fcb84e9e
commit 74bc0d6539
+1 -1
View File
@@ -79,7 +79,7 @@ function normalize_results(results) {
results.forEach((result) => {
norm_results.push(result);
if (result.includes("/repos/")) {
norm_results.push(result.split("/")[3]);
norm_results.push(result.split("/repos/")[1].split("/")[2]);
}
});
return norm_results;