Skip to content

Commit c150529

Browse files
authored
Remove spammy debug! log from path_to_root
The log statement is empty and simply fills up the logs when you run `mdbook` with `RUST_LOG=debug`.
1 parent 3966498 commit c150529

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/utils/fs.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ pub fn write_file<P: AsRef<Path>>(build_dir: &Path, filename: P, content: &[u8])
3838
/// Consider [submitting a new issue](https://github.com/rust-lang/mdBook/issues)
3939
/// or a [pull-request](https://github.com/rust-lang/mdBook/pulls) to improve it.
4040
pub fn path_to_root<P: Into<PathBuf>>(path: P) -> String {
41-
debug!("path_to_root");
4241
// Remove filename and add "../" for every directory
4342

4443
path.into()

0 commit comments

Comments
 (0)