fix test.lua

pull/13/head
ruki 6 years ago
parent 03d4276f91
commit 019fe17ac4
No known key found for this signature in database
GPG Key ID: 33341DF9719963FA
  1. 2
      scripts/test.lua

@ -16,7 +16,7 @@ function main(...)
local argv = option.parse({...}, options, "Test all the given or changed packages.")
-- get packages
local packages = argv.packages
local packages = argv.packages or {}
if #packages == 0 then
local files = os.iorun("git diff --name-only HEAD^")
for _, file in ipairs(files:split('\n'), string.trim) do

Loading…
Cancel
Save