Skip to content

Commit 0a9ef2b

Browse files
committed
Always run classification plugin #2842
Signed-off-by: Jono Yang <jyang@nexb.com>
1 parent c9b366c commit 0a9ef2b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/summarycode/classify.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,9 @@ class FileClassifier(PreScanPlugin):
110110
]
111111

112112
def is_enabled(self, classify, **kwargs):
113-
return classify
113+
return True
114114

115115
def process_codebase(self, codebase, classify, **kwargs):
116-
if not classify:
117-
return
118-
119116
# find the real root directory
120117
real_root = codebase.lowest_common_parent()
121118
if not real_root:

0 commit comments

Comments
 (0)