Skip to content

Commit

Permalink
fix(build): allow build=false to skip building
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Nov 4, 2023
1 parent 16603c6 commit 314193a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lua/lazy/manage/task/plugin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ M.build = {

local builders = self.plugin.build

-- Skip if `build` is set to `false`
if builders == false then
return
end

local build_file = get_build_file(self.plugin)
if build_file then
if builders then
Expand Down

0 comments on commit 314193a

Please sign in to comment.