Skip to content

Commit cc5b562

Browse files
fix: write language field to codeflash.toml for Java projects
configure_java_project() wrote module-root and tests-root but not language. Downstream, process_pyproject_config() checks config.get("language") == "java" to set is_java_project, so without this field the pipeline couldn't identify the project as Java. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 21142a5 commit cc5b562

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

codeflash/cli_cmds/init_java.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,7 @@ def configure_java_project(setup_info: JavaSetupInfo) -> bool:
456456
source_root = setup_info.module_root_override or detect_java_source_root(curdir)
457457
test_root = setup_info.test_root_override or detect_java_test_root(curdir)
458458

459+
config["language"] = "java"
459460
config["module-root"] = source_root
460461
config["tests-root"] = test_root
461462

0 commit comments

Comments
 (0)