From 2a41f79e36985fc93d2c0ea66c162ba1e9024f48 Mon Sep 17 00:00:00 2001 From: Danny Farrell <16297104+danpf@users.noreply.github.com> Date: Fri, 23 Feb 2024 22:57:04 -0500 Subject: [PATCH] Enable plugins during --check --- script/cli/check.lua | 1 + script/plugin.lua | 1 + 2 files changed, 2 insertions(+) diff --git a/script/cli/check.lua b/script/cli/check.lua index 4295fa06b..146035b62 100644 --- a/script/cli/check.lua +++ b/script/cli/check.lua @@ -11,6 +11,7 @@ local config = require 'config.config' local fs = require 'bee.filesystem' local provider = require 'provider' +require 'plugin' require 'vm' lang(LOCALE) diff --git a/script/plugin.lua b/script/plugin.lua index b297cd9bf..b77511ff2 100644 --- a/script/plugin.lua +++ b/script/plugin.lua @@ -146,6 +146,7 @@ local function initPlugin(uri) return end local args = config.get(scp.uri, 'Lua.runtime.pluginArgs') + if args == nil then args = {} end if type(pluginConfigPaths) == 'string' then pluginConfigPaths = { pluginConfigPaths } end