Skip to content

Commit 3ed347b

Browse files
committed
Fix tsfmt and eslint warnings
1 parent 1072dcf commit 3ed347b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

editors/code/src/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export function moveItem(ctx: Ctx, direction: ra.Direction): Cmd {
154154
direction
155155
});
156156

157-
if(!edit) return;
157+
if (!edit) return;
158158

159159
await editor.edit((builder) => {
160160
client.protocol2CodeConverter.asTextEdits(edit.edits).forEach((edit: any) => {

editors/code/src/lsp_ext.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ export interface OpenCargoTomlParams {
131131
export const moveItem = new lc.RequestType<MoveItemParams, lc.TextDocumentEdit | void, void>("experimental/moveItem");
132132

133133
export interface MoveItemParams {
134-
textDocument: lc.TextDocumentIdentifier,
135-
range: lc.Range,
136-
direction: Direction
134+
textDocument: lc.TextDocumentIdentifier;
135+
range: lc.Range;
136+
direction: Direction;
137137
}
138138

139139
export const enum Direction {

0 commit comments

Comments
 (0)