reverted back

This commit is contained in:
Murali Chandran 2025-10-21 23:45:09 +01:00
parent 0df03fb0a9
commit 067298c51b

View File

@ -162,9 +162,6 @@ Generated: {timestamp}
# bloat metrics: package all of the source code and assess its weight
packaged = run_command('files-to-prompt . -e py -e md -e rs -e html -e toml -e sh --ignore "*target*" --cxml')
# run_command can return None if 'files-to-prompt' fails or times out
if not packaged:
packaged = ""
num_chars = len(packaged)
num_lines = len(packaged.split('\n'))
num_files = len([x for x in packaged.split('\n') if x.startswith('<source>')])