diff --git a/joj3_config_generator/main.py b/joj3_config_generator/main.py index 28ce068..c1b65f4 100644 --- a/joj3_config_generator/main.py +++ b/joj3_config_generator/main.py @@ -99,7 +99,7 @@ def convert( fallback_toml_path = repo_toml_path.parent / "conf.toml" if not fallback_toml_path.exists(): fallback_toml_path.write_text( - 'name = "invalid commit"\nmax-total-score = 0\n' + 'name = "health check"\nmax-total-score = 0\n' ) for task_toml_path in repo_toml_path.parent.glob("**/*.toml"): if repo_toml_path == task_toml_path: diff --git a/tests/convert/empty/task.json b/tests/convert/empty/task.json index b012516..4424c32 100644 --- a/tests/convert/empty/task.json +++ b/tests/convert/empty/task.json @@ -1,6 +1,6 @@ { - "name": "invalid commit", - "logPath": "/home/tt/.cache/joj3/invalid/joj3.log", + "name": "health check", + "logPath": "/home/tt/.cache/joj3/health/joj3.log", "expireUnixTimestamp": 0, "effectiveUnixTimestamp": 0, "actorCsvPath": "/home/tt/.config/joj/students.csv", diff --git a/tests/convert/empty/task.toml b/tests/convert/empty/task.toml index 12cc5b6..e42a6ce 100644 --- a/tests/convert/empty/task.toml +++ b/tests/convert/empty/task.toml @@ -1,2 +1,2 @@ -name = "invalid commit" +name = "health check" max-total-score = 0