Skip to content

Commit 1dddabe

Browse files
lint
1 parent 9c43882 commit 1dddabe

File tree

1 file changed

+18
-19
lines changed

1 file changed

+18
-19
lines changed

vscode/extension/src/commands/tableDiff.ts

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,9 @@ export function showTableDiff(
201201
title: 'SQLMesh',
202202
cancellable: false,
203203
},
204-
async (progress) => {
204+
async progress => {
205205
progress.report({ message: 'Calculating table differences...' })
206-
206+
207207
return await lspClient.call_custom_method('sqlmesh/api', {
208208
method: 'GET',
209209
endpoint: '/api/table_diff',
@@ -214,7 +214,7 @@ export function showTableDiff(
214214
},
215215
body: {},
216216
})
217-
}
217+
},
218218
)
219219

220220
if (isErr(tableDiffResult)) {
@@ -477,23 +477,22 @@ export function showTableDiff(
477477
title: 'SQLMesh',
478478
cancellable: false,
479479
},
480-
async (progress) => {
481-
progress.report({ message: 'Calculating table differences...' })
482-
483-
return await lspClient.call_custom_method(
484-
'sqlmesh/api',
485-
{
486-
method: 'GET',
487-
endpoint: '/api/table_diff',
488-
params: {
489-
source: sourceEnvironment,
490-
target: targetEnvironment,
491-
model_or_snapshot: sourceModel,
492-
},
493-
body: {},
480+
async progress => {
481+
progress.report({
482+
message: 'Calculating table differences...',
483+
})
484+
485+
return await lspClient.call_custom_method('sqlmesh/api', {
486+
method: 'GET',
487+
endpoint: '/api/table_diff',
488+
params: {
489+
source: sourceEnvironment,
490+
target: targetEnvironment,
491+
model_or_snapshot: sourceModel,
494492
},
495-
)
496-
}
493+
body: {},
494+
})
495+
},
497496
)
498497

499498
let responseCallback: CallbackEvent

0 commit comments

Comments
 (0)