mirror of
https://github.com/TangentFoxy/love-release.git
synced 2025-07-28 11:02:20 +00:00
Fixed misleading error message for Mac OS X
When the identifier is missing it would prompt an error message which would tell that the author is missing.
This commit is contained in:
@@ -14,7 +14,7 @@ local s = {}
|
|||||||
local function validate(project)
|
local function validate(project)
|
||||||
local valid, err = true, utils.io.err
|
local valid, err = true, utils.io.err
|
||||||
if type(project.identifier) ~= "string" or project.identifier == "" then
|
if type(project.identifier) ~= "string" or project.identifier == "" then
|
||||||
err("DEBIAN: No author specified.\n")
|
err("MacOS X: No identifier specified.\n")
|
||||||
valid = false
|
valid = false
|
||||||
end
|
end
|
||||||
if not valid then os.exit(1) end
|
if not valid then os.exit(1) end
|
||||||
|
Reference in New Issue
Block a user