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
1 changed files with 1 additions and 1 deletions

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)