refactor: Task.needed => task.skip

This commit is contained in:
Folke Lemaitre 2022-11-28 13:11:20 +01:00
parent 3768256956
commit 16fd35c285
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
local Process = require("lazy.manage.process")
---@class LazyTaskDef
---@field needed? fun(plugin:LazyPlugin, opts:RunnerOpts):any?
---@field skip? fun(plugin:LazyPlugin, opts:RunnerOpts):any?
---@field run fun(task:LazyTask)
---@alias LazyTaskState fun():boolean?