File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import { SchemaRetriever } from '../schema/SchemaRetriever';
1717import { EditorSettings } from '../settings/Settings' ;
1818import { LoggerFactory } from '../telemetry/LoggerFactory' ;
1919import { getIndentationString } from '../utils/IndentationUtils' ;
20- import { RESOURCE_ATTRIBUTE_TYPES } from './CompletionUtils' ;
20+ import { RESOURCE_ATTRIBUTE_TYPES } from './CompletionUtils' ;
2121
2222export type CompletionItemData = {
2323 type ?: 'object' | 'array' | 'simple' ;
@@ -211,7 +211,7 @@ export class CompletionFormatter {
211211 }
212212
213213 const entity = context . entity ;
214- if ( ! entity || entity . entityType !== EntityType . Resource ) {
214+ if ( ! entity || context . getEntityType ( ) !== EntityType . Resource ) {
215215 return undefined ;
216216 }
217217
You can’t perform that action at this time.
0 commit comments