mirror of
https://github.com/tiennm99/awesome-advent-of-code.git
synced 2026-10-14 14:17:17 +00:00
ci: avoid updating LiveStream lines
This commit is contained in:
1 file changed
+2
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user