Skip to content

Commit b7cc02e

Browse files
committed
progress
1 parent 5cbea63 commit b7cc02e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/pgls_cli/src/execute/process_file/check.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pub(crate) fn check_with_guard<'ctx>(
5454
.into_iter()
5555
.map(Error::from)
5656
.collect(),
57-
skipped_diagnostics: pull_diagnostics_result.skipped_diagnostics as u32,
57+
skipped_diagnostics: pull_diagnostics_result.skipped_diagnostics,
5858
});
5959
}
6060

crates/pgls_workspace/src/workspace.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ impl<'app, W: Workspace + ?Sized> FileGuard<'app, W> {
226226
.pull_file_diagnostics(PullFileDiagnosticsParams {
227227
path: self.path.clone(),
228228
categories,
229-
max_diagnostics: max_diagnostics.into(),
229+
max_diagnostics,
230230
only,
231231
skip,
232232
})

packages/@postgres-language-server/backend-jsonrpc/tests/workspace.test.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ describe("Workspace API", () => {
2727
version: 0,
2828
});
2929

30-
const { diagnostics } = await workspace.pullDiagnostics({
30+
const { diagnostics } = await workspace.pullFileDiagnostics({
3131
only: [],
3232
skip: [],
3333
max_diagnostics: 100,

0 commit comments

Comments
 (0)