Fix bugs and logging
This commit is contained in:
parent
c4c696df5a
commit
a373d9ca4e
3 changed files with 14 additions and 20 deletions
|
@ -5,7 +5,7 @@ from typing import List, Optional
|
|||
|
||||
from reviewllama.git_diff import analyze_git_repository
|
||||
|
||||
from .configs import OllamaConfig, ReviewConfig, create_config_from_vars
|
||||
from .configs import ReviewConfig, create_config_from_vars
|
||||
from .logger import (log_git_analysis_result, log_git_analysis_start,
|
||||
log_paths, log_review_start)
|
||||
|
||||
|
@ -108,8 +108,8 @@ def cli() -> None:
|
|||
# TODO: Pass config to review engine
|
||||
log_review_start(config)
|
||||
log_paths(config.paths)
|
||||
|
||||
for path in Paths:
|
||||
|
||||
for path in config.paths:
|
||||
analysis = analyze_git_repository(path, config.base_branch)
|
||||
log_git_analysis_start(path, config.base_branch)
|
||||
log_git_analysis_result(analysis)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue