Skip to content

Commit

Permalink
Merge pull request #2536 from danpf/danpf-diagnostics-with-plugins
Browse files Browse the repository at this point in the history
Enable plugins during --check
  • Loading branch information
sumneko committed Feb 24, 2024
2 parents 3e6fd3c + 2a41f79 commit 825a795
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions script/cli/check.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ local config = require 'config.config'
local fs = require 'bee.filesystem'
local provider = require 'provider'

require 'plugin'
require 'vm'

lang(LOCALE)
Expand Down
1 change: 1 addition & 0 deletions script/plugin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 825a795

Please sign in to comment.