Skip to content

Commit

Permalink
feature: improve completions (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
levivilet authored Jun 11, 2024
1 parent 2a2f735 commit 543b0d9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/json-worker/src/parts/GetSchemaUri/GetSchemaUri.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
export const getSchemaUri = async (uri: string) => {
if (uri.endsWith('package.json') || uri.endsWith('test.json')) {
if (
uri.endsWith('package.json') ||
uri.endsWith('test.json') ||
uri.endsWith('index.json')
) {
return 'src/package.schema.json'
}
return ''
Expand Down

0 comments on commit 543b0d9

Please sign in to comment.