Skip to content

Commit a9ebc44

Browse files
authored
Merge pull request #31 from n-WN/copilot/fix-30
Fix CI/CD compilation issues when out directory is deleted
2 parents 2192181 + 523c98f commit a9ebc44

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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)