Skip to content

Commit

Permalink
Merge pull request #2020 from mgeisler/patch-1
Browse files Browse the repository at this point in the history
Remove spammy `debug!` log from `path_to_root`
  • Loading branch information
ehuss authored Feb 13, 2023
2 parents 3966498 + c150529 commit 112fd4a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/utils/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ pub fn write_file<P: AsRef<Path>>(build_dir: &Path, filename: P, content: &[u8])
/// Consider [submitting a new issue](https://github.com/rust-lang/mdBook/issues)
/// or a [pull-request](https://github.com/rust-lang/mdBook/pulls) to improve it.
pub fn path_to_root<P: Into<PathBuf>>(path: P) -> String {
debug!("path_to_root");
// Remove filename and add "../" for every directory

path.into()
Expand Down

0 comments on commit 112fd4a

Please sign in to comment.