ci: avoid updating LiveStream lines

This commit is contained in:
Bogdan Popa committed 2020-12-03 21:33:16 +02:00
1 parent e227dd86bd
commit fa2ce3d5e9
1 file changed
+2 -1
+2 -1
View File
@@ -51,7 +51,8 @@ function extractRepositories(lines) {
} else if (collect) {
const idx1 = line.indexOf('[')
const idx2 = line.indexOf(']')
if (idx1 >= 0 && idx2 >= 0) {
const idx3 = line.indexOf('/')
if (idx1 >= 0 && idx2 >= 0 && idx3 > 0) {
repos.push({
index,
repoStr: line.slice(idx1 + 1, idx2)