Skip to content

Commit 8835527

Browse files
committed
Fix schema name from configuration
Signed-off-by: worksofliam <[email protected]>
1 parent d670744 commit 8835527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/language/providers/peekProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export const peekProvider = languages.registerDefinitionProvider({ language: `sq
3636
// Otherwise:
3737
// - if SQL naming is in use, then use the default schema
3838
// - if system naming is in use, then don't pass a library and the library list will be used
39-
const schema = ref.object.schema ? Statement.delimName(ref.object.schema, true) : naming === `sql` ? defaultSchema : undefined;
39+
const schema = ref.object.schema ? Statement.delimName(ref.object.schema, true) : naming === `sql` ? Statement.delimName(defaultSchema) : undefined;
4040

4141
const possibleObjects = await Schemas.resolveObjects([{name, schema}], [`*LIB`]);
4242

0 commit comments

Comments
 (0)