File tree Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -93,13 +93,13 @@ if lm.notest then
93
93
end
94
94
95
95
lm :rule " run-bee-test" {
96
- " $bin/lua-language-server" .. exe , " $in" ,
96
+ args = { " $bin/lua-language-server" .. exe , " $in" } ,
97
97
description = " Run test: $in." ,
98
98
pool = " console" ,
99
99
}
100
100
101
101
lm :rule " run-unit-test" {
102
- " bin/lua-language-server" .. exe , " $in" ,
102
+ args = { " bin/lua-language-server" .. exe , " $in" } ,
103
103
description = " Run test: $in." ,
104
104
pool = " console" ,
105
105
}
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ lclient():start(function (client)
85
85
.. (' 0' ):rep (# tostring (max ) - # tostring (i ))
86
86
.. tostring (i ) .. ' /' .. tostring (max )
87
87
io.write (output )
88
+ io.flush ()
88
89
end
89
90
end
90
91
io.write (' \x0D ' )
Original file line number Diff line number Diff line change @@ -94,3 +94,7 @@ SOCKET = 0
94
94
95
95
-- Allowing the use of the root directory or home directory as the workspace
96
96
FORCE_ACCEPT_WORKSPACE = false
97
+
98
+ -- Trust all plugins that are being loaded by workspace config files.
99
+ -- This is potentially unsafe for normal use and meant for usage in CI environments only.
100
+ TRUST_ALL_PLUGINS = false
Original file line number Diff line number Diff line change 73
73
--- @async
74
74
--- @param scp scope
75
75
local function checkTrustLoad (scp )
76
+ if TRUST_ALL_PLUGINS then
77
+ return true
78
+ end
76
79
local pluginPath = scp :get (' pluginPath' )
77
80
local filePath = LOGPATH .. ' /trusted'
78
81
local trusted = util .loadFile (filePath )
You can’t perform that action at this time.
0 commit comments