style: auto-fix ruff formatting in module_system.py

Co-authored-by: mohammed ahmed <undefined@users.noreply.github.com>
This commit is contained in:
claude[bot] 2026-04-04 13:09:00 +00:00
parent 113eb3f791
commit 66b4efc53c

View file

@ -112,9 +112,7 @@ def detect_module_system(project_root: Path, file_path: Path | None = None) -> s
# depends on how TypeScript compiles and how Node.js loads the files.
if file_path and file_path.suffix.lower() in (".ts", ".tsx"):
if pkg_type_from_json is None:
logger.debug(
"TypeScript file without explicit package.json type field - defaulting to CommonJS"
)
logger.debug("TypeScript file without explicit package.json type field - defaulting to CommonJS")
return ModuleSystem.COMMONJS
# Strategy 3: Analyze file content for import/export patterns