mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user