1
0
mirror of https://github.com/LDDestroier/CC/ synced 2025-09-05 04:17:59 +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

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)