mirror of
https://github.com/Hopiu/lychee.git
synced 2026-05-06 04:44:45 +00:00
Ignored URLs don't lead to failing exit code
This commit is contained in:
parent
c549213bfe
commit
17937537f8
2 changed files with 2 additions and 2 deletions
|
|
@ -75,7 +75,7 @@ impl ResponseStats {
|
|||
|
||||
#[inline]
|
||||
pub(crate) const fn is_success(&self) -> bool {
|
||||
self.total == self.successful + self.excludes
|
||||
self.total == self.successful + self.excludes + self.unsupported
|
||||
}
|
||||
|
||||
#[inline]
|
||||
|
|
|
|||
|
|
@ -212,7 +212,7 @@ mod cli {
|
|||
.env_clear()
|
||||
.assert()
|
||||
.success()
|
||||
.stdout(contains("2 Total"))
|
||||
.stdout(contains("3 Total"))
|
||||
.stdout(contains("1 OK"))
|
||||
.stdout(contains("1 Excluded"));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue