File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -170,10 +170,10 @@ function Spec:import(spec)
170
170
self .importing = nil
171
171
return self :error (
172
172
" Invalid spec module: `"
173
- .. modname
174
- .. " `\n Expected a `table` of specs, but a `"
175
- .. type (mod )
176
- .. " ` was returned instead"
173
+ .. modname
174
+ .. " `\n Expected a `table` of specs, but a `"
175
+ .. type (mod )
176
+ .. " ` was returned instead"
177
177
)
178
178
end
179
179
self :normalize (mod )
@@ -216,11 +216,11 @@ function M.update_state()
216
216
plugin ._ = plugin ._ or {}
217
217
if plugin .lazy == nil then
218
218
local lazy = plugin ._ .dep
219
- or Config .options .defaults .lazy
220
- or plugin .event
221
- or plugin .keys
222
- or plugin .ft
223
- or plugin .cmd
219
+ or Config .options .defaults .lazy
220
+ or plugin .event
221
+ or plugin .keys
222
+ or plugin .ft
223
+ or plugin .cmd
224
224
plugin .lazy = lazy and true or false
225
225
end
226
226
if plugin .dir :find (Config .options .root , 1 , true ) == 1 then
@@ -264,7 +264,7 @@ function M.update_rocks_state()
264
264
end )
265
265
266
266
for _ , plugin in pairs (Config .plugins ) do
267
- if plugin ._ .pkg and plugin ._ .pkg .source == " rockspec" then
267
+ if plugin ._ .pkg and plugin ._ .pkg .source == " rockspec" and plugin . build == " rockspec " then
268
268
plugin ._ .build = not installed [plugin .name ]
269
269
end
270
270
end
You can’t perform that action at this time.
0 commit comments