Skip to content

Commit ca8ff4d

Browse files
removing debug code
1 parent ccaa829 commit ca8ff4d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/git_scanning.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,6 @@ impl GitScanner {
169169
// based on https://github.com/alexcrichton/git2-rs/blob/master/examples/log.rs
170170
let commit: Commit = commit.unwrap();
171171
info!("Scanning commit {}", commit.id());
172-
if &commit.id().to_string() == "04bd867ad782daa532e28bcfe45f18a66b9aa90a" {
173-
debug!("breakpoint");
174-
}
175172
if commit.parents().len() > 1 {
176173
continue;
177174
}
@@ -204,7 +201,7 @@ impl GitScanner {
204201
return true;
205202
};
206203
let new_line = line.content();
207-
debug!("new_line: {:?}",String::from_utf8_lossy(new_line));
204+
// debug!("new_line: {:?}",String::from_utf8_lossy(new_line));
208205
let matches_map: BTreeMap<String, Vec<RustyHogMatch>> =
209206
self.secret_scanner.matches_entropy(new_line);
210207
if matches_map.contains_key("Entropy") {

0 commit comments

Comments
 (0)