This commit is contained in:
lx
2026-07-06 14:01:11 -04:00
commit c4f97d729d
16468 changed files with 935321 additions and 0 deletions
@@ -0,0 +1,17 @@
local CodeCoverage = script.Parent
local LineScanner = require(CodeCoverage.LineScanner)
return function(fileLinesArray)
local scanner = LineScanner:new()
local excludedLines = {}
local excludedIfNotHitLines = {}
for _, line in ipairs(fileLinesArray) do
local excluded, excludedIfNotHit = scanner:consume(line)
table.insert(excludedLines, excluded)
table.insert(excludedIfNotHitLines, excludedIfNotHit)
end
return excludedLines, excludedIfNotHitLines
end