CI: fix new issues reported by luacheck 0.18.0 (#1383)
Fixes https://github.com/awesomeWM/awesome/issues/1380.
This commit is contained in:
parent
86fb767d77
commit
5616fe5f48
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue