CircleCI fixes

* shellcheck 0.4.5 fix `LC_ALL: en_US.UTF8` (can be removed for shellcheck 0.4.6)

* hush updated luacheck on `reader.lua`; we're not assigning any variables but `= nil` is redundant
This commit is contained in:
Frans de Jonge
2017-10-08 16:33:59 +02:00
parent 283bffdce9
commit ea033431aa
3 changed files with 7 additions and 5 deletions

View File

@@ -153,10 +153,10 @@ if Device.hasColorScreen() and not G_reader_settings:has("color_rendering") then
})
end
local exit_code = nil
local exit_code
if ARGV[argidx] and ARGV[argidx] ~= "" then
local file = nil
local file
if lfs.attributes(ARGV[argidx], "mode") == "file" then
file = ARGV[argidx]
elseif open_last and last_file then