Skip to content

Commit ebbd70d

Browse files
committed
New attempt at fixing the build
Signed-off-by: Fred Bricon <[email protected]>
1 parent bd454a9 commit ebbd70d

File tree

3 files changed

+11
-14
lines changed

3 files changed

+11
-14
lines changed

package-lock.json

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

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"bugs": "https://github.com/redhat-developer/vscode-java/issues",
1111
"preview": true,
1212
"engines": {
13-
"vscode": "^1.27.0"
13+
"vscode": "^1.28.0"
1414
},
1515
"repository": {
1616
"type": "git",
@@ -352,14 +352,14 @@
352352
"mocha": "^5.2.0",
353353
"tslint": "^5.11.0",
354354
"typescript": "^3.0.3",
355-
"vscode": "^1.1.21"
355+
"vscode": "^1.1.22"
356356
},
357357
"dependencies": {
358-
"vscode-languageclient": "~5.1.0",
358+
"vscode-languageclient": "~5.1.1",
359359
"find-java-home": "0.2.0",
360-
"tmp": "^0.0.31",
360+
"tmp": "^0.0.33",
361361
"path-exists": "^3.0.0",
362362
"expand-home-dir": "^0.0.3",
363-
"glob": "^7.1.1"
363+
"glob": "^7.1.3"
364364
}
365365
}

src/extension.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,8 @@ export function activate(context: ExtensionContext): Promise<ExtensionAPI> {
8888
if (!lsPort) {
8989
serverOptions = prepareExecutable(requirements, workspacePath, getJavaConfiguration());
9090
} else {
91-
let connectionInfo = {
92-
port: lsPort
93-
};
9491
serverOptions = () => {
95-
let socket = net.connect(connectionInfo);
92+
let socket = net.connect(lsPort);
9693
let result: StreamInfo = {
9794
writer: socket,
9895
reader: socket
@@ -270,7 +267,7 @@ export function activate(context: ExtensionContext): Promise<ExtensionAPI> {
270267
const updateRequest: SourceAttachmentRequest = {
271268
classFileUri: classFileUri.toString(),
272269
attributes: {
273-
...attributes,
270+
...attributes,
274271
sourceAttachmentPath: sourceFileUris[0].fsPath
275272
},
276273
};

0 commit comments

Comments
 (0)