small path fix

This commit is contained in:
Robert Jelic
2022-07-10 19:18:58 +02:00
parent e98c552fa1
commit 3b33bb7009

View File

@@ -411,7 +411,7 @@ return true,Format_Mini(__a)end
local args = table.pack(...)
local projectPath = args[1] or "Basalt"
local minifyProject = args[2]=="true" and true or false
local outputFileName = "basalt.lua"
local outputFileName = args[3] or "basalt.lua"
assert(fs.isDir(projectPath), "Unable to find directory: "..projectPath)
@@ -501,4 +501,4 @@ else
outputFile:write(main)
end
outputFile:close()
outputFile:close()