Skip to content

Commit cff2a0f

Browse files
committed
lint: Format the typescript files properly
1 parent c6fab19 commit cff2a0f

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

editors/code/src/client.ts

+13-13
Original file line numberDiff line numberDiff line change
@@ -62,27 +62,27 @@ export function createClient(serverPath: string, workspace: Workspace, extraEnv:
6262
textDocument: client.code2ProtocolConverter.asTextDocumentIdentifier(document),
6363
position: positionOrRange
6464
}, token).then(
65-
(result) => {
66-
const hover =
65+
(result) => {
66+
const hover =
6767
client.protocol2CodeConverter.asHover(result);
68-
if (hover) {
68+
if (hover) {
6969
const actions = (<any>result).actions;
7070
if (actions) {
71-
hover.contents.push(renderHoverActions(actions));
71+
hover.contents.push(renderHoverActions(actions));
7272
}
73-
}
74-
return hover;
75-
},
76-
(error) => {
77-
client.handleFailedRequest(
73+
}
74+
return hover;
75+
},
76+
(error) => {
77+
client.handleFailedRequest(
7878
lc.HoverRequest.type,
7979
token,
8080
error,
8181
null
82-
);
83-
return Promise.resolve(null);
84-
}
85-
);
82+
);
83+
return Promise.resolve(null);
84+
}
85+
);
8686
},
8787
// Using custom handling of CodeActions to support action groups and snippet edits.
8888
// Note that this means we have to re-implement lazy edit resolving ourselves as well.

0 commit comments

Comments
 (0)