This commit is contained in:
Paul Gauthier 2023-05-23 12:19:46 -07:00
parent 8773a3c47d
commit 51471ca951
2 changed files with 2 additions and 2 deletions

View file

@ -171,7 +171,7 @@ class Coder:
if self.repo is not None: if self.repo is not None:
other_files = set(self.get_all_abs_files()) - set(self.abs_fnames) other_files = set(self.get_all_abs_files()) - set(self.abs_fnames)
if other_files and len(other_files) < 100: if other_files and len(other_files) < 1000:
if self.use_ctags: if self.use_ctags:
files_listing = get_tags_map(other_files) files_listing = get_tags_map(other_files)
ctags_msg = " with selected ctags content" ctags_msg = " with selected ctags content"

View file

@ -15,7 +15,7 @@ def get_tags_map(filenames, root_dname=None):
tags = [] tags = []
for filename in filenames: for filename in filenames:
if filename.endswith(".md"): if filename.endswith(".md") or filename.endswith(".json"):
continue continue
tags += get_tags(filename, root_dname) tags += get_tags(filename, root_dname)
if not tags: if not tags: