mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +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();
|
||||
subs.insert(
|
||||
"[HASH]",
|
||||
regex!(r"home/\.cargo/registry/src/-(?<redacted>[a-z0-9]+)"),
|
||||
regex!(r"home/\.cargo/registry/(cache|index|src)/-(?<redacted>[a-z0-9]+)"),
|
||||
)
|
||||
.unwrap();
|
||||
subs.insert(
|
||||
|
Loading…
x
Reference in New Issue
Block a user