mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-19 13:09:22 +00:00
Merge branch 'pull-request-1302'
This commit is contained in:
commit
e552b022ba
1 file changed
+5
-2
@@ -51,18 +51,21 @@ function main(args)
|
||||
{
|
||||
try
|
||||
{
|
||||
var options = parseOptions(args);
|
||||
var options = parseOptions(args),
|
||||
ret = 0;
|
||||
|
||||
if (options.watch)
|
||||
watch(options);
|
||||
else
|
||||
convert(options);
|
||||
if (!convert(options))
|
||||
ret = 2;
|
||||
}
|
||||
catch (anException)
|
||||
{
|
||||
CPLog.fatal(exceptionReason(anException));
|
||||
OS.exit(1);
|
||||
}
|
||||
OS.exit(ret);
|
||||
}
|
||||
|
||||
function convert(options, inputFile)
|
||||
|
||||
Reference in new issue
Block a user