# HG changeset patch # User Matthew Wild # Date 1643987060 0 # Node ID a3ad9cf740d601deba008df532ccf8084ef8b441 # Parent 5b0c8e499288a02a58d52b014cebe9da04c7f9e1 util.pluginloader: Fix method to return any module metadata (luacheck) diff -r 5b0c8e499288 -r a3ad9cf740d6 util/pluginloader.lua --- a/util/pluginloader.lua Fri Feb 04 14:20:00 2022 +0000 +++ b/util/pluginloader.lua Fri Feb 04 15:04:20 2022 +0000 @@ -82,7 +82,7 @@ local path = err; local f, err = envload(content, "@"..path, env); if not f then return f, err; end - return f, path; + return f, path, metadata; end local function init(options)