Skip to content

Commit 1efd828

Browse files
committed
改为发布 beta 版
1 parent 34c3ad9 commit 1efd828

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

.vscode/settings.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
{
2-
"Lua.runtime.version": "Lua 5.4"
3-
}
2+
"Lua.runtime.version": "Lua 5.4",
3+
"Lua.workspace.library": {
4+
"server/script-beta": true
5+
}
6+
}

package/configuration.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
local diagDefault = require 'constant.DiagnosticDefaultSeverity'
1+
local const = require 'proto.define'
22

33
local config = {
44
["Lua.runtime.version"] = {
@@ -276,7 +276,7 @@ local config = {
276276
}
277277

278278
local DiagSeverity = config["Lua.diagnostics.severity"].properties
279-
for name, level in pairs(diagDefault) do
279+
for name, level in pairs(const.DiagnosticDefaultSeverity) do
280280
DiagSeverity[name] = {
281281
scope = 'resource',
282282
type = 'string',

publish.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ local rootPath = currentPath:gsub('[^/\\]-$', '')
33
if rootPath == '' then
44
rootPath = './'
55
end
6-
loadfile(rootPath .. 'server/platform.lua')('script')
6+
loadfile(rootPath .. 'server/platform.lua')('script-beta')
77
require 'bee'
88
local fs = require 'bee.filesystem'
99
local subprocess = require 'bee.subprocess'

server

0 commit comments

Comments
 (0)