Skip to content

Commit d687094

Browse files
committed
speed fix for -b/-r
1 parent e9e60d0 commit d687094

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
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,7 +1,7 @@
11

22
[package]
33
name = "webgrep"
4-
version = "0.3.4"
4+
version = "0.4.0"
55
edition = "2021"
66
license = "MIT"
77
description = "grep the web: a full-browser-spec search-focused ultra-simple way to read the web without having to leave the terminal"

src/utils/recurse.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ pub async fn recurse(
8181
for t in CACHE.lock().unwrap().values_mut() {
8282
for a in t {
8383
if re.is_match(a) {
84-
return get_links(links, depth - 1, use_chrome).await;
84+
return get_links(links, 0, use_chrome).await;
8585
}
8686
}
8787
}

0 commit comments

Comments
 (0)