From d6b8e7e57fdd3bd4d87df1c6859e4df327b5ee0c Mon Sep 17 00:00:00 2001 From: JohnnyMorganz Date: Mon, 18 Nov 2024 19:41:51 +0100 Subject: [PATCH] Log if an ignore file was resolved during --respect-ignores --- src/cli/config.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cli/config.rs b/src/cli/config.rs index 65a58b45..1d0d9fa9 100644 --- a/src/cli/config.rs +++ b/src/cli/config.rs @@ -223,6 +223,7 @@ pub fn find_ignore_file_path(mut directory: PathBuf, recursive: bool) -> Option< debug!("config: looking for ignore file in {}", directory.display()); let file_path = directory.join(".styluaignore"); if file_path.is_file() { + debug!("config: resolved ignore file at {}", file_path.display()); Some(file_path) } else if recursive && directory.pop() { find_ignore_file_path(directory, recursive)