Changeset

12255:a3ad9cf740d6

util.pluginloader: Fix method to return any module metadata (luacheck)
author Matthew Wild <mwild1@gmail.com>
date Fri, 04 Feb 2022 15:04:20 +0000
parents 12254:5b0c8e499288
children 12256:8fd3eebb8966
files util/pluginloader.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)