diff options
Diffstat (limited to 'src/lpm.lua')
-rw-r--r-- | src/lpm.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lpm.lua b/src/lpm.lua index cb08fef..d1155e4 100644 --- a/src/lpm.lua +++ b/src/lpm.lua @@ -2178,6 +2178,8 @@ function lpm.run(ARGS) error("unknown command: " .. ARGS[2]) elseif result == true and JSON then io.stdout:write(json.encode({ actions = actions, warnings = warnings })) + else + return result end end |