Skip to content

Commit 8ec16f9

Browse files
committed
Handle file:// URIs too
1 parent b039d35 commit 8ec16f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/dev/bless_tests.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ function normalizeOutput(string $out): string {
7575
// Inside of strings, replace absolute paths that have been truncated with
7676
// any string. These tend to contain homedirs with usernames, not good.
7777
$out = preg_replace("/'\\/.*\.\\.\\.'/", "'%s'", $out);
78+
$out = preg_replace("/'file:\/\\/.*\.\\.\\.'/", "'%s'", $out);
7879
$out = str_replace("\0", '%0', $out);
7980
return $out;
8081
}

0 commit comments

Comments
 (0)