more readable required_program error

This commit is contained in:
Tangent / Rose / Nebula Rosa 2024-01-13 17:58:25 -07:00
parent 7104919254
commit 828a77d20b

View File

@ -47,7 +47,7 @@ utility.required_program = function(name)
-- TODO verify this works on Linux / macOS
if os.execute(command .. tostring(name)) ~= 0 then
error(tostring(name) .. " must be installed and in the path")
error("\n\n" .. tostring(name) .. " must be installed and in the path\n")
end
end