File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ function M.setup()
40
40
break
41
41
end
42
42
end
43
- require (" lazy.manage" ).install ({ wait = true })
43
+ require (" lazy.manage" ).install ({ wait = true , lockfile = true })
44
44
break
45
45
end
46
46
end
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ local M = {}
11
11
--- @field mode ? string
12
12
--- @field plugins ? (LazyPlugin | string )[]
13
13
--- @field concurrency ? number
14
+ --- @field lockfile ? boolean
14
15
15
16
--- @param ropts RunnerOpts
16
17
--- @param opts ? ManagerOpts
@@ -74,7 +75,7 @@ function M.install(opts)
74
75
return M .run ({
75
76
pipeline = {
76
77
" git.clone" ,
77
- " git.checkout" ,
78
+ { " git.checkout" , lockfile = opts . lockfile } ,
78
79
" plugin.docs" ,
79
80
" wait" ,
80
81
" plugin.build" ,
@@ -88,7 +89,7 @@ function M.install(opts)
88
89
end )
89
90
end
90
91
91
- --- @param opts ? ManagerOpts |{ lockfile ?: boolean }
92
+ --- @param opts ? ManagerOpts
92
93
function M .update (opts )
93
94
opts = M .opts (opts , { mode = " update" })
94
95
return M .run ({
You can’t perform that action at this time.
0 commit comments