Skip to content

πŸ™Œ OpenHands: AI-Driven Development

Filtering lost+found directory from root of workspace (#6487)

tofarr173f82470451
diff --git a/openhands/server/file_config.py b/openhands/server/file_config.py
index 06e8ce20ee..29d1c2bf61 100644
--- a/openhands/server/file_config.py
+++ b/openhands/server/file_config.py
@@ -5,12 +5,7 @@ from openhands.core.config import AppConfig
from openhands.core.logger import openhands_logger as logger
from openhands.server.shared import config as shared_config
-FILES_TO_IGNORE = [
- '.git/',
- '.DS_Store',
- 'node_modules/',
- '__pycache__/',
-]
+FILES_TO_IGNORE = ['.git/', '.DS_Store', 'node_modules/', '__pycache__/', 'lost+found/']
def sanitize_filename(filename):