@github/copilot-language-server 1.405.0 → 1.407.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/language-server.js +2 -2
- package/dist/main.js +786 -778
- package/dist/main.js.map +3 -3
- package/dist/tfidfWorker.js +4 -4
- package/dist/tfidfWorker.js.map +2 -2
- package/package.json +7 -7
package/dist/language-server.js
CHANGED
|
@@ -12,10 +12,10 @@ function main() {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
if (!argv.includes('--node-ipc')) {
|
|
15
|
-
const path = require('
|
|
15
|
+
const path = require('path');
|
|
16
16
|
const root = path.join(__dirname, '..', '..', `copilot-language-server-${process.platform}-${process.arch}`);
|
|
17
17
|
const exe = path.join(root, `copilot-language-server${process.platform === 'win32' ? '.exe' : ''}`);
|
|
18
|
-
const cp = require('
|
|
18
|
+
const cp = require('child_process');
|
|
19
19
|
const result = cp.spawnSync(exe, argv, {stdio: 'inherit'});
|
|
20
20
|
if (typeof result.status === 'number') {
|
|
21
21
|
process.exit(result.status);
|