1
0
mirror of https://github.com/LDDestroier/CC/ synced 2024-06-16 02:09:58 +00:00

Forced API mode if 'shell' is not found

This commit is contained in:
LDDestroier 2019-05-25 23:08:25 -04:00 committed by GitHub
parent eb22ea17c0
commit ca40ec90f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -353,7 +353,7 @@ end
if argList["-h"] then
return showHelp(true)
elseif argList["-a"] then
elseif argList["-a"] or (not shell) then
mode = "api"
elseif inputPath then
exists = fs.exists(inputPath)