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
9393end
9494
9595lm :rule " run-bee-test" {
96- " $bin/lua-language-server" .. exe , " $in" ,
96+ args = { " $bin/lua-language-server" .. exe , " $in" } ,
9797 description = " Run test: $in." ,
9898 pool = " console" ,
9999}
100100
101101lm :rule " run-unit-test" {
102- " bin/lua-language-server" .. exe , " $in" ,
102+ args = { " bin/lua-language-server" .. exe , " $in" } ,
103103 description = " Run test: $in." ,
104104 pool = " console" ,
105105}
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ lclient():start(function (client)
8585 .. (' 0' ):rep (# tostring (max ) - # tostring (i ))
8686 .. tostring (i ) .. ' /' .. tostring (max )
8787 io.write (output )
88+ io.flush ()
8889 end
8990 end
9091 io.write (' \x0D ' )
Original file line number Diff line number Diff line change @@ -94,3 +94,7 @@ SOCKET = 0
9494
9595-- Allowing the use of the root directory or home directory as the workspace
9696FORCE_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 7373--- @async
7474--- @param scp scope
7575local function checkTrustLoad (scp )
76+ if TRUST_ALL_PLUGINS then
77+ return true
78+ end
7679 local pluginPath = scp :get (' pluginPath' )
7780 local filePath = LOGPATH .. ' /trusted'
7881 local trusted = util .loadFile (filePath )
You can’t perform that action at this time.
0 commit comments