mirror of
https://github.com/koreader/koreader
synced 2024-10-31 21:20:20 +00:00
ci(fix): run luacheck on plugins dir
This commit is contained in:
parent
581039aed5
commit
86e924aa45
@ -6,4 +6,4 @@ source "${CI_DIR}/common.sh"
|
|||||||
travis_retry make fetchthirdparty
|
travis_retry make fetchthirdparty
|
||||||
make all
|
make all
|
||||||
make testfront
|
make testfront
|
||||||
luajit $(which luacheck) --no-color -q frontend
|
luajit $(which luacheck) --no-color -q {reader,setupkoenv,datastorage}.lua frontend plugins
|
||||||
|
@ -18,6 +18,7 @@ local menuItem = {
|
|||||||
text = _("Keep Alive"),
|
text = _("Keep Alive"),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
local disable
|
||||||
if Device:isKobo() then
|
if Device:isKobo() then
|
||||||
disable = function() UIManager:_startAutoSuspend() end
|
disable = function() UIManager:_startAutoSuspend() end
|
||||||
menuItem.callback = function()
|
menuItem.callback = function()
|
||||||
|
Loading…
Reference in New Issue
Block a user