fix(plugin): calculate handlers after disabling plugins

This commit is contained in:
Folke Lemaitre 2023-09-29 10:31:02 +02:00
parent 4dfb5aceb7
commit 01d16b67c2
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 1 additions and 2 deletions

View File

@ -39,6 +39,7 @@ end
function Spec:parse(spec) function Spec:parse(spec)
self:normalize(spec) self:normalize(spec)
self:fix_disabled()
-- calculate handlers -- calculate handlers
for _, plugin in pairs(self.plugins) do for _, plugin in pairs(self.plugins) do
@ -48,8 +49,6 @@ function Spec:parse(spec)
end end
end end
end end
self:fix_disabled()
end end
-- PERF: optimized code to get package name without using lua patterns -- PERF: optimized code to get package name without using lua patterns