Skip to content
This repository was archived by the owner on May 25, 2019. It is now read-only.

Commit 7674166

Browse files
committed
Return a default dict instead of list when calling get_current_project_indexes
1 parent 3284313 commit 7674166

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎AngularJS-sublime-package.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def get_current_project_indexes(self):
6060
self.projects_index_cache[self.get_index_key()] = {'definitions':[], 'attributes': {}}
6161
return self.projects_index_cache[self.get_index_key()]
6262
else:
63-
return []
63+
return {'definitions':[], 'attributes': {}}
6464
def add_indexes_to_cache(self, indexes):
6565

6666
self.projects_index_cache[self.get_index_key()] = {

0 commit comments

Comments
 (0)