Skip to content

Commit

Permalink
Add --all-formats on extractcode calls #132
Browse files Browse the repository at this point in the history
Signed-off-by: tdruez <[email protected]>
  • Loading branch information
tdruez committed Jun 1, 2021
1 parent ec97e10 commit af58f7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions scanpipe/pipelines/scan_codebase.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class ScanCodebase(Pipeline):

extractcode_options = [
"--shallow",
"--all-formats",
]
scancode_options = [
"--copyright",
Expand Down
2 changes: 1 addition & 1 deletion scanpipe/pipes/scancode.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def extract(location, target):
"""
errors = []

for event in extract_file(location, target):
for event in extract_file(location, target, all_formats=True):
if event.done:
errors.extend(event.errors)

Expand Down

0 comments on commit af58f7e

Please sign in to comment.