mirror of
https://github.com/TangentFoxy/.lua-files.git
synced 2024-11-20 21:34:23 +00:00
more readable required_program error
This commit is contained in:
parent
7104919254
commit
828a77d20b
@ -47,7 +47,7 @@ utility.required_program = function(name)
|
|||||||
|
|
||||||
-- TODO verify this works on Linux / macOS
|
-- TODO verify this works on Linux / macOS
|
||||||
if os.execute(command .. tostring(name)) ~= 0 then
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user