mirror of
https://github.com/Reuh/candran.git
synced 2025-10-27 17:59:30 +00:00
Discard warnings from external files in cancheck
This commit is contained in:
parent
1de0aafa5b
commit
33ac4c5d7f
3 changed files with 96 additions and 44 deletions
2
bin/can
2
bin/can
|
|
@ -32,7 +32,7 @@ if arg[#arg] == "-" then
|
|||
elseif #args >= 1 then
|
||||
local f, err = candran.loadfile(args[1], nil, args)
|
||||
if not f then
|
||||
print("can: "..err)
|
||||
io.stderr:write("can: "..err.."\n")
|
||||
os.exit(1)
|
||||
else
|
||||
f()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue