Fix bug with zlibDecompressFilesRecursive

This commit is contained in:
2025-09-25 00:34:32 -04:00
parent 74321fa18a
commit d9837ecb72
3 changed files with 2 additions and 23 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ end
function core.fileContainsWorkspace(fileContents: string, opts: types.opts): boolean
assert(typeof(fileContents) == "string", "Expected fileContents to be of type 'string'")
assert(typeof(opts) == "table", "Expected opts to be of type 'table'")
if opts.zlibDecompressFiles then
if opts.zlibDecompressFiles or opts.zlibDecompressFilesRecursive then
local success = pcall(function() fileContents = compression.zlibDecompress(fileContents, opts.zlibDecompressFilesRecursive) end)
if not success then
stdio.write(stdio.color("yellow"))