Skip to content

Commit 03102d7

Browse files
committed
Ignore non-conforming lines
1 parent 7615c86 commit 03102d7

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

invfile.lua.md

+10-8
Original file line numberDiff line numberDiff line change
@@ -594,14 +594,16 @@ package are generated using the builders.
594594
for line in io.lines("packages.tsv") do
595595
if not firstLine then
596596
local fields = split(line, "\t")
597-
local packager = fields[1]
598-
local package = fields[2]
599-
local revision = fields[3]
600-
local test = fields[4]
601-
local builddir = "./mulled-build-" .. package
602-
603-
builders[packager](package, revision, test, builddir)
604-
pushTask(package, revision, packager, builddir)
597+
if #fields == 4 then
598+
local packager = fields[1]
599+
local package = fields[2]
600+
local revision = fields[3]
601+
local test = fields[4]
602+
local builddir = "./mulled-build-" .. package
603+
604+
builders[packager](package, revision, test, builddir)
605+
pushTask(package, revision, packager, builddir)
606+
end
605607
end
606608
firstLine = false
607609
end

0 commit comments

Comments
 (0)