From 067298c51bf77919d57f7d05e7387a6cfe8cdfdd Mon Sep 17 00:00:00 2001 From: Murali Chandran Date: Tue, 21 Oct 2025 23:45:09 +0100 Subject: [PATCH] reverted back --- nanochat/report.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/nanochat/report.py b/nanochat/report.py index 586a06b..02cd8b0 100644 --- a/nanochat/report.py +++ b/nanochat/report.py @@ -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('')])