From 3d11353328bf8602c2f87d63723db4c775760f61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20Damkj=C3=A6r?= Date: Mon, 16 Oct 2023 09:01:17 +0200 Subject: [PATCH] fix crash on signature help (#110) --- packages/server/src/signatureHelp.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/signatureHelp.ts b/packages/server/src/signatureHelp.ts index 5a6e86551..6185c2725 100644 --- a/packages/server/src/signatureHelp.ts +++ b/packages/server/src/signatureHelp.ts @@ -33,7 +33,7 @@ export function doSignatureHelp( return signatureHelp( textDocument.getText(range), - neo4j.metadata.dbSchema ?? {}, + neo4j.metadata?.dbSchema ?? {}, ); }; }