Skip to content

Commit f45eb39

Browse files
committed
Fix unnecessary prints
1 parent c075ad6 commit f45eb39

File tree

4 files changed

+3
-8
lines changed

4 files changed

+3
-8
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "glimpse"
3-
version = "0.6.7"
3+
version = "0.6.8"
44
edition = "2021"
55
description = "A blazingly fast tool for peeking at codebases. Perfect for loading your codebase into an LLM's context."
66
license = "MIT"

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
{
1919
packages.default = pkgs.rustPlatform.buildRustPackage {
2020
pname = "glimpse";
21-
version = "0.6.7";
21+
version = "0.6.8";
2222

2323
src = ./.;
2424

src/analyzer.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,6 @@ pub fn process_directory(args: &Cli) -> Result<()> {
8989
.filter_map(|entry| entry.ok())
9090
.filter(|entry| {
9191
let should_exclude = is_excluded(entry, args);
92-
if should_exclude {
93-
println!("filtering out: {}", entry.path().display());
94-
}
9592
!should_exclude
9693
})
9794
.filter(|entry| {
@@ -171,14 +168,12 @@ fn is_excluded(entry: &ignore::DirEntry, args: &Cli) -> bool {
171168
};
172169

173170
if matcher.is_match(&check_path) {
174-
println!("excluded: {} (matched {})", path_str, pattern);
175171
return true;
176172
}
177173
}
178174
}
179175
Exclude::File(path) => {
180176
let matches = entry.path().ends_with(path);
181-
println!("file exclude {} matches?: {}", path.display(), matches); // debug
182177
if matches {
183178
return true;
184179
}

0 commit comments

Comments
 (0)