mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
test: Update HASH redaction for registry files
This commit is contained in:
parent
a2b58c3dad
commit
df43a23235
@ -188,7 +188,7 @@ fn add_regex_redactions(subs: &mut snapbox::Redactions) {
|
|||||||
.unwrap();
|
.unwrap();
|
||||||
subs.insert(
|
subs.insert(
|
||||||
"[HASH]",
|
"[HASH]",
|
||||||
regex!(r"home/\.cargo/registry/src/-(?<redacted>[a-z0-9]+)"),
|
regex!(r"home/\.cargo/registry/(cache|index|src)/-(?<redacted>[a-z0-9]+)"),
|
||||||
)
|
)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
subs.insert(
|
subs.insert(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user