Skip to content
Snippets Groups Projects
Commit 4ca61ec4 authored by 最萌小汐's avatar 最萌小汐
Browse files

no longer beta

parent c63b2e40
No related branches found
No related tags found
No related merge requests found
Showing
with 4 additions and 4 deletions
......@@ -3,11 +3,11 @@
"version": "0.2.0",
"configurations": [
{
"name": "🍺测试-beta",
"name": "🍺测试",
"type": "lua",
"request": "launch",
"stopOnEntry": false,
"program": "${workspaceRoot}/test-beta.lua",
"program": "${workspaceRoot}/test.lua",
"luaexe": "${workspaceFolder}/bin/Windows/lua-language-server.exe",
"arg": [
],
......@@ -19,7 +19,7 @@
],
},
{
"name": "附加-beta",
"name": "附加",
"type": "lua",
"request": "attach",
"stopOnEntry": true,
......
local currentPath = debug.getinfo(1, 'S').source:sub(2)
local rootPath = currentPath:gsub('[/\\]*[^/\\]-$', '')
loadfile((rootPath == '' and '.' or rootPath) .. '/platform.lua')('script-beta')
loadfile((rootPath == '' and '.' or rootPath) .. '/platform.lua')('script')
local fs = require 'bee.filesystem'
ROOT = fs.path(rootPath)
LANG = LANG or 'en-US'
......
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment