Skip to content

Commit

Permalink
Adjust logging with the private footnote
Browse files Browse the repository at this point in the history
  • Loading branch information
Marek Suchánek committed Oct 30, 2023
1 parent 5ff96c7 commit c787788
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,8 @@ impl Project {
let trackers = parse_trackers(&trackers_path)?;
let templates = parse_templates(&templates_path)?;

log::info!("Valid release notes project in {}.", abs_path.display());

let private_footnote = footnote::is_footnote_defined(&abs_path)?;

Ok(Self {
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ fn build_rn_project(project_dir: &Path) -> Result<()> {
// TODO: Recognize the optional paths to different config files.
let project = Project::new(project_dir)?;

log::info!("Building release notes in {}", &project.base_dir.display());
log::info!("Building the release notes project.");

let document = Document::new(&project)?;

Expand Down

0 comments on commit c787788

Please sign in to comment.