lualoader: Use "local function x()" instead of "local x = function()"

The latter is good, but the former is more elegant and clear about what 'x'
is. Adopt it, preferably only using the latter kind of notation where needed
as values for tables.
This commit is contained in:
Kyle Evans
2018-02-23 04:03:07 +00:00
parent b65c0c07b2
commit 9ed6f9efda
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ local config = require("config")
local core = {}
local compose_loader_cmd = function(cmd_name, argstr)
local function compose_loader_cmd(cmd_name, argstr)
if argstr ~= nil then
cmd_name = cmd_name .. " " .. argstr
end