Skip to content

Commit 314193a

Browse files
committedNov 4, 2023
fix(build): allow build=false to skip building
1 parent 16603c6 commit 314193a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎lua/lazy/manage/task/plugin.lua

+5
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ M.build = {
3030

3131
local builders = self.plugin.build
3232

33+
-- Skip if `build` is set to `false`
34+
if builders == false then
35+
return
36+
end
37+
3338
local build_file = get_build_file(self.plugin)
3439
if build_file then
3540
if builders then

0 commit comments

Comments
 (0)
Please sign in to comment.