chore: change fallback conf name to health check
This commit is contained in:
		
							parent
							
								
									ea894953ae
								
							
						
					
					
						commit
						b3581a4071
					
				|  | @ -99,7 +99,7 @@ def convert( | ||||||
|             fallback_toml_path = repo_toml_path.parent / "conf.toml" |             fallback_toml_path = repo_toml_path.parent / "conf.toml" | ||||||
|             if not fallback_toml_path.exists(): |             if not fallback_toml_path.exists(): | ||||||
|                 fallback_toml_path.write_text( |                 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"): |         for task_toml_path in repo_toml_path.parent.glob("**/*.toml"): | ||||||
|             if repo_toml_path == task_toml_path: |             if repo_toml_path == task_toml_path: | ||||||
|  |  | ||||||
|  | @ -1,6 +1,6 @@ | ||||||
| { | { | ||||||
|     "name": "invalid commit", |     "name": "health check", | ||||||
|     "logPath": "/home/tt/.cache/joj3/invalid/joj3.log", |     "logPath": "/home/tt/.cache/joj3/health/joj3.log", | ||||||
|     "expireUnixTimestamp": 0, |     "expireUnixTimestamp": 0, | ||||||
|     "effectiveUnixTimestamp": 0, |     "effectiveUnixTimestamp": 0, | ||||||
|     "actorCsvPath": "/home/tt/.config/joj/students.csv", |     "actorCsvPath": "/home/tt/.config/joj/students.csv", | ||||||
|  |  | ||||||
|  | @ -1,2 +1,2 @@ | ||||||
| name = "invalid commit" | name = "health check" | ||||||
| max-total-score = 0 | max-total-score = 0 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user