Skip to content

Commit 523c98f

Browse files
Copilotn-WN
andcommitted
Fix CI/CD compilation issues: correct paths and main entry point
Co-authored-by: n-WN <30841158+n-WN@users.noreply.github.com>
1 parent 699b0da commit 523c98f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"crypto",
2323
"ctf"
2424
],
25-
"main": "out/extension.js",
25+
"main": "out/src/extension.js",
2626
"contributes": {
2727
"languages": [
2828
{

tests/test_lsp_completion.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class LSPClient {
3131
* Start the language server process
3232
*/
3333
async startServer() {
34-
const serverPath = path.join(__dirname, 'out', 'server', 'src', 'server.js');
34+
const serverPath = path.join(__dirname, '..', 'out', 'server', 'src', 'server.js');
3535

3636
if (!fs.existsSync(serverPath)) {
3737
throw new Error(`Server not found at ${serverPath}. Run 'npm run compile' first.`);

0 commit comments

Comments
 (0)