Skip to content
Snippets Groups Projects

Fixed linter issues in `daemon/lua`, added more config tests

Merged Marek Vavrusa requested to merge daemon-lua-linter-fixes into master
Viewing commit 3162da83
Show latest version
7 files
+ 26
24
Preferences
Compare changes
Files
7
  • Also fixed improper promotion of `ffi` to global variable.
    
    ```
    $ luacheck --codes daemon/lua/
    Checking daemon/lua/config.lua                    OK
    Checking daemon/lua/kres-gen.lua                  OK
    Checking daemon/lua/kres.lua                      OK
    Checking daemon/lua/sandbox.lua                   OK
    Checking daemon/lua/trust_anchors.lua             OK
    Checking daemon/lua/zonefile.lua                  OK
    
    Total: 0 warnings / 0 errors in 6 files
    ```
+ 1
0
local ffi = require('ffi')
--[[ This file is generated by ./kres-gen.sh ]] ffi.cdef[[
typedef struct knot_dump_style knot_dump_style_t;