Skip to content

Commit

Permalink
Fix exclusion test
Browse files Browse the repository at this point in the history
  • Loading branch information
mre committed May 15, 2022
1 parent f1fd19d commit 626a559
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions lychee-bin/src/commands/dump.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ where
while let Some(request) = requests.next().await {
let mut request = request?;

if params.client.is_excluded(&request.uri) {
continue;
}

// Apply URI remappings (if any)
request.uri = params.client.remap(request.uri)?;

Expand Down
2 changes: 1 addition & 1 deletion lychee-bin/tests/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ mod cli {
cmd.arg("--dump")
.arg("--verbose")
.arg("--exclude")
.arg("example.com*")
.arg("example.com")
.arg("--")
.arg(&test_path)
.assert()
Expand Down

0 comments on commit 626a559

Please sign in to comment.