Skip to content

Commit

Permalink
Log if an ignore file was resolved during --respect-ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyMorganz committed Nov 18, 2024
1 parent 00fdbe5 commit d6b8e7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cli/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d6b8e7e

Please sign in to comment.