fix: Remove redundant Dockerfile check

TEXT_EXTENSIONS already contains 'Dockerfile'
This commit is contained in:
Nick Tindle
2026-02-11 12:14:58 -06:00
parent 66f9f3a12a
commit d9daf3e6db

View File

@@ -148,9 +148,7 @@ async def extract_sandbox_files(
continue
# Check if it's a text file
is_text = any(
file_path.endswith(ext) for ext in TEXT_EXTENSIONS
) or file_path.endswith("Dockerfile")
is_text = any(file_path.endswith(ext) for ext in TEXT_EXTENSIONS)
# Skip non-text files if text_only mode
if text_only and not is_text: