Skip to content

Commit

Permalink
add trace back to gleam_source_files
Browse files Browse the repository at this point in the history
  • Loading branch information
PgBiel committed Nov 5, 2024
1 parent 1d5ed5e commit 977041b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler-core/src/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ pub trait FileSystemReader {
/// Iterates over Gleam source files (`.gleam`) in a certain directory.
/// Symlinks are followed.
pub fn gleam_source_files(io: &impl FileSystemReader, dir: &Utf8Path) -> Vec<Utf8PathBuf> {
tracing::trace!("gleam_source_files {:?}", dir);

DirWalker::new(dir.to_path_buf())
.into_file_iter(io)
.filter_map(Result::ok)
Expand Down

0 comments on commit 977041b

Please sign in to comment.