I *think* this should correctly handle both versioned and unversioned matches?

This commit is contained in:
Dannon Baker
2021-02-12 14:31:47 -05:00
parent e63e313271
commit 13fcb84e9e
+1 -2
View File
@@ -77,10 +77,9 @@ export function filterTools(layout, results) {
function normalize_results(results) {
var norm_results = [];
results.forEach((result) => {
norm_results.push(result);
if (result.includes("/repos/")) {
norm_results.push(result.split("/")[3]);
} else {
norm_results.push(result);
}
});
return norm_results;