CI: fix new issues reported by luacheck 0.18.0 (#1383)

Fixes https://github.com/awesomeWM/awesome/issues/1380.
This commit is contained in:
Daniel Hahler 2017-01-10 17:44:53 +01:00 committed by GitHub
parent 86fb767d77
commit 5616fe5f48
1 changed files with 4 additions and 1 deletions

View File

@ -20,7 +20,6 @@ read_globals = {
"drawin", "drawin",
"key", "key",
"keygrabber", "keygrabber",
"mouse",
"mousegrabber", "mousegrabber",
"root", "root",
"selection", "selection",
@ -30,9 +29,13 @@ read_globals = {
-- screen may not be read-only, because newer luacheck versions complain about -- screen may not be read-only, because newer luacheck versions complain about
-- screen[1].tags[1].selected = true. -- screen[1].tags[1].selected = true.
-- The same happens with the following code:
-- local tags = mouse.screen.tags
-- tags[7].index = 4
-- client may not be read-only due to client.focus. -- client may not be read-only due to client.focus.
globals = { globals = {
"screen", "screen",
"mouse",
"client" "client"
} }