mirror of
https://github.com/LDDestroier/CC/
synced 2024-06-24 06:03:22 +00:00
Forced API mode if 'shell' is not found
This commit is contained in:
parent
eb22ea17c0
commit
ca40ec90f2
|
@ -353,7 +353,7 @@ end
|
||||||
|
|
||||||
if argList["-h"] then
|
if argList["-h"] then
|
||||||
return showHelp(true)
|
return showHelp(true)
|
||||||
elseif argList["-a"] then
|
elseif argList["-a"] or (not shell) then
|
||||||
mode = "api"
|
mode = "api"
|
||||||
elseif inputPath then
|
elseif inputPath then
|
||||||
exists = fs.exists(inputPath)
|
exists = fs.exists(inputPath)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user