File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed
robotcode/language_server/robotframework/diagnostics Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -974,20 +974,8 @@ async def get_library_doc(self) -> LibraryDoc:
974974 if self ._library_doc is None :
975975 async with self ._library_doc_lock :
976976 if self ._library_doc is None :
977- model_type = ""
978-
979- if hasattr (self .model , "model_type" ):
980- t = getattr (self .model , "model_type" )
981-
982- if t == DocumentType .RESOURCE :
983- model_type = "RESOURCE"
984- elif t == DocumentType .GENERAL :
985- model_type = "TESTCASE"
986- elif t == DocumentType .INIT :
987- model_type = "INIT"
988-
989977 self ._library_doc = await self .imports_manager .get_libdoc_from_model (
990- self .model , self .source , model_type = model_type
978+ self .model , self .source , model_type = "RESOURCE"
991979 )
992980
993981 return self ._library_doc
You can’t perform that action at this time.
0 commit comments