Skip to content

Commit b704f4c

Browse files
packetsourceAdam Chappell
andauthored
Remove leftover extraneous debugging in host globbing function (#328)
Apologies. I accidentally left a stray dbg!() in when checking the glob expansion logic of hosts in the russh-config SSH config parsing code. This PR simply removes it. Co-authored-by: Adam Chappell <Adam.Chappell@gtt.net>
1 parent 934c784 commit b704f4c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

russh-config/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ pub fn parse(file: &str, host: &str) -> Result<Config, Error> {
185185
}
186186

187187
fn check_host_against_glob_pattern(candidate: &str, glob_pattern: &str) -> bool {
188-
dbg!(candidate, glob_pattern);
189188
match Glob::new(glob_pattern) {
190189
Ok(glob) => glob.compile_matcher().is_match(candidate),
191190
_ => false,

0 commit comments

Comments
 (0)